public override void Exit(object owner) { ActionRPG game = owner as ActionRPG; if (game != null) { game.UnloadIntroContent(); } }
public override void Enter(object owner) { ActionRPG game = owner as ActionRPG; if (game != null) { game.gameState = GameState.MainGameState; game.InitialiseMainGameState(); game.LoadMainGameContent(true); } }
public override void Execute(object owner, GameTime gameTime) { ActionRPG game = owner as ActionRPG; if (game == null) { return; } game.gameState = GameState.GameOverState; }
public override void Enter(object owner) { ActionRPG game = owner as ActionRPG; if (game != null) { game.gameState = GameState.IntroState; game.InitialiseIntroState(); game.LoadIntroScreenContent(); game.SpacePressed = false; } }