public bool StopCountdown() { if (!IsFunctional || !IsCountingDown) { return(false); } IsCountingDown = false; MyWarheads.RemoveWarhead(this); RaisePropertiesChanged(); UpdateEmissivity(); return(true); }
void ExplodeDelayed(int maxMiliseconds) { RemainingMS = MyUtils.GetRandomInt(maxMiliseconds); m_countdownMs = 0; MyWarheads.AddWarhead(this); }