public void Start() { if (this.m_Active || this.Deleted) { return; } this.m_Active = true; this.m_HasBeenAdvanced = false; if (this.m_Timer != null) { this.m_Timer.Stop(); } this.m_Timer = new SliceTimer(this); this.m_Timer.Start(); if (this.m_RestartTimer != null) { this.m_RestartTimer.Stop(); } this.m_RestartTimer = null; if (this.m_Altar != null) { if (this.m_Champion != null) { this.m_Altar.Hue = 0x26; } else { this.m_Altar.Hue = 0; } } if (this.m_Platform != null) { this.m_Platform.Hue = 0x452; } PrimevalLichPuzzle.Update(this); }
public void Stop() { if (!this.m_Active || this.Deleted) { return; } this.m_Active = false; this.m_HasBeenAdvanced = false; if (this.m_Timer != null) { this.m_Timer.Stop(); } this.m_Timer = null; if (this.m_RestartTimer != null) { this.m_RestartTimer.Stop(); } this.m_RestartTimer = null; if (this.m_Altar != null) { this.m_Altar.Hue = 0; } if (this.m_Platform != null) { this.m_Platform.Hue = 0x497; } PrimevalLichPuzzle.Update(this); }