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"; }
public void SetValues(Powerup_type type, int x, int y) { this.type = type; this.x = x; this.y = y; }