Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. package
  2. {
  3. import flash.display.MovieClip;
  4.  
  5. public var enemyIsBeingHit:Boolean = false;
  6.  
  7. public class Enemy extends MovieClip
  8. {
  9. public function Enemy( startX:Number, startY:Number )
  10. {
  11. x = startX;
  12. y = startY;
  13.  
  14. }
  15. public function moveDownABit():void
  16. {
  17. y = y - 3;
  18. }
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement