Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. my code:
  2.  
  3. function bewegung(event:MouseEvent) <<<<<< here it works
  4. {
  5. schiff.x=mouseX;
  6. schiff.y=mouseY;
  7. }
  8.  
  9. function feinde()
  10. {
  11. enemy.y=Math.floor(Math.random()) <<<<<<but here
  12. enemy.x=Math.floor(Math.random())
  13.  
  14. }
  15.  
  16. ERROR:
  17.  
  18. Szene 1, Ebene 'action', Bild 1, Zeile 22 1119: Zugriff auf eine möglicherweise nicht definierte Eigenschaft y über einen Verweis mit statischem Typ Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement