Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package
- {
- import org.flixel.*;
- public class Aloneium extends FlxSprite
- {
- public function Aloneium()
- {
- super();
- loadGraphic(Registry.aloneium,false,false,8,8);
- exists = false;
- }
- public function drop(x:int, y:int):void
- {
- x = x;
- y = y;
- acceleration.y = 500
- exists = true;
- trace("X:= " + x + " Y:= " + y);
- }
- override public function update():void
- {
- super.update();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment