Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my code:
- function bewegung(event:MouseEvent) <<<<<< here it works
- {
- schiff.x=mouseX;
- schiff.y=mouseY;
- }
- function feinde()
- {
- enemy.y=Math.floor(Math.random()) <<<<<<but here
- enemy.x=Math.floor(Math.random())
- }
- ERROR:
- 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