home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / bubble_tanks_2.swf / scripts / __Packages / BubblefieldUnit.as < prev    next >
Encoding:
Text File  |  2008-09-02  |  551 b   |  23 lines

  1. class BubblefieldUnit
  2. {
  3.    var _position;
  4.    var _name;
  5.    var _linkage;
  6.    var _difficulty;
  7.    var _depth;
  8.    var _rotation;
  9.    var _formalName;
  10.    function BubblefieldUnit(givenName, givenLinkage, givenPos, givenDepth)
  11.    {
  12.       this._position = new Vector();
  13.       this._name = givenName;
  14.       this._linkage = givenLinkage;
  15.       this._position._x = givenPos._x;
  16.       this._position._y = givenPos._y;
  17.       this._difficulty = 0;
  18.       this._depth = givenDepth;
  19.       this._rotation = 0;
  20.       this._formalName = "";
  21.    }
  22. }
  23.