예제 #1
0
        public bool StopCountdown()
        {
            if (!IsFunctional || !IsCountingDown)
            {
                return(false);
            }

            IsCountingDown = false;
            MyWarheads.RemoveWarhead(this);
            RaisePropertiesChanged();
            UpdateEmissivity();
            return(true);
        }
예제 #2
0
 void ExplodeDelayed(int maxMiliseconds)
 {
     RemainingMS   = MyUtils.GetRandomInt(maxMiliseconds);
     m_countdownMs = 0;
     MyWarheads.AddWarhead(this);
 }