Esempio n. 1
0
 public Powerup(Powerup_type type, int x, int y)
 {
     this.type     = type;
     this.x        = x;
     this.y        = y;
     existDuration = 10; //seconds
     plantedAt     = DateTime.Now;
     texture       = "powerup";
 }
Esempio n. 2
0
 public void SetValues(Powerup_type type, int x, int y)
 {
     this.type = type;
     this.x    = x;
     this.y    = y;
 }