home *** CD-ROM | disk | FTP | other *** search
/ Champak 48 / cdrom_image.iso / Games / alex_trax.swf / scripts / __Packages / com / neodelight / std / Unique.as < prev    next >
Encoding:
Text File  |  2007-10-01  |  300 b   |  17 lines

  1. class com.neodelight.std.Unique
  2. {
  3.    static var key = 1;
  4.    static var id = 1;
  5.    function Unique()
  6.    {
  7.    }
  8.    static function getId()
  9.    {
  10.       return com.neodelight.std.Unique.id++;
  11.    }
  12.    static function getKey()
  13.    {
  14.       return "k" + com.neodelight.std.Unique.key++;
  15.    }
  16. }
  17.