internal void End() { Paused = true; ShouldContinue = false; this.CurrentLevel = null; }
public TDSession() { thisSession = null; gold = StartingGold; TDForm.ThisForm.btnNewTower.Enabled = true; CurrentLevel = new TDLevel(1); Paused = true; thisSession = this; }
internal void AdvanceLevel() { gold = TDSession.StartingGold; Paused = true; if (TDResources.Maps.Length > CurrentLevel.Level) { CurrentLevel = new TDLevel(CurrentLevel.Level + 1); } }