private void RestartBtn_Click(object sender, EventArgs e) { GameState TutorialLvl = new TutorialLevel(Game, _graphicsDevice, _graphicsDeviceManager); GameStateManager.Instance.ChangeState(TutorialLvl); //GameStateManager.Instance.RemoveState(); }
private void StartGameBtn_Click(object sender, EventArgs e) { Console.WriteLine("Start Game"); GameState TutorialLvl = new TutorialLevel(Game, _graphicsDevice, _graphicsDeviceManager); //TEST LEVEL 1 //GameState Level1 = new Level1(Game, _graphicsDevice, _graphicsDeviceManager); GameStateManager.Instance.ChangeState(TutorialLvl); }