Esempio n. 1
0
 public tank(int newx, int newy)
 {
     speed       = 1;
     weaponcount = WEAPONSTART;
     health      = 100; // 100 => full
     x           = newx;
     y           = newy;
     direction   = (edir)1;
 }
Esempio n. 2
0
 public projectile(int newdir, int newx, int newy)
 {
     direction = (edir)newdir;
     x         = newx;
     y         = newy;
 }