private void SetUpEvents() { InteractionLogic.GameOver += GameOver; InteractionLogic.IncreaseScore += increase => { score += increase; HudInterface.SetScoreText(score); }; }
public void StartGame() { mainMenu.Hide(); Show(); controls = new Controls(this); score = 0; GameState = GameState.Playing; InteractionLogic.BeginGame(); SetUpEvents(); controls.SetControlsToState(GameState); HudInterface = new HudInterface(); }