public void Update(Player p) { if (_hasExploded) return; _chargeTime++; Console.Write(_chargeTime); if (_chargeTime > MAX_CHARGE) { p.SuperBomb(); _hasExploded = true; } }
public void Update(Player p) { if (_hasExploded) { return; } _chargeTime++; Console.Write(_chargeTime); if (_chargeTime > MAX_CHARGE) { p.SuperBomb(); _hasExploded = true; } }