Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package
- {
- import flash.display.MovieClip;
- public var enemyIsBeingHit:Boolean = false;
- public class Enemy extends MovieClip
- {
- public function Enemy( startX:Number, startY:Number )
- {
- x = startX;
- y = startY;
- }
- public function moveDownABit():void
- {
- y = y - 3;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement