private void Game_GameOver(object sender) { var view = new View("Spel Afgelopen", "Druk op de escape toets."); view.Show(); }
public void Back(bool remember = true) { if (Current == null) return; if (Current.CanLeave() && Previous != null) { Current = Previous; Invalidate(); } else if (Current.CanLeave() && Previous == null) Current = null; if (!remember) _previous = null; }