KunoNoOni

Aloneium.as

Dec 17th, 2011
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package
  2. {
  3.     import org.flixel.*;
  4.    
  5.     public class Aloneium extends FlxSprite
  6.     {
  7.         public function Aloneium()
  8.         {
  9.             super();
  10.             loadGraphic(Registry.aloneium,false,false,8,8);
  11.             exists = false;
  12.         }
  13.        
  14.         public function drop(x:int, y:int):void
  15.         {
  16.             x = x;
  17.             y = y;
  18.             acceleration.y = 500
  19.             exists = true;
  20.             trace("X:= " + x + " Y:= " + y);
  21.         }
  22.  
  23.        
  24.         override public function update():void
  25.         {
  26.             super.update();
  27.         }
  28.     }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment