private void StartGame() { MenuCanvas.Visibility = Visibility.Hidden; InitGameComponents(); GameTimeManager.GameTime(GameTime_Tick); GameTimeManager.StartGame(GameLoop); }
private void RestartGame() { StopGame(); WallbreakerCanvas.Children.Clear(); GameTimeManager.StopAllTimer(); StartGame(); TogglePause(); }
private void StopGame() { GameTimeManager.StopGame(); }