home *** CD-ROM | disk | FTP | other *** search
/ Ice Age Fan CD 1 / CD1_Scrat.iso / flash / data / game.swf / scripts / asCode / bubbleNode.as < prev    next >
Encoding:
Text File  |  2012-07-04  |  493 b   |  28 lines

  1. package asCode
  2. {
  3.    import flash.geom.*;
  4.    
  5.    public class bubbleNode
  6.    {
  7.       private var xVel:Number = 0;
  8.       
  9.       private var yVel:Number = 0;
  10.       
  11.       private var loc:Point;
  12.       
  13.       public function bubbleNode(param1:*)
  14.       {
  15.          loc = new Point();
  16.          super();
  17.          loc.x = param1.x;
  18.          loc.y = param1.y;
  19.       }
  20.       
  21.       public function getLoc() : Point
  22.       {
  23.          return new Point(loc.x,loc.y);
  24.       }
  25.    }
  26. }
  27.  
  28.