public GameStateManager(Game1 game) { Game = game; States = new Dictionary<string, GameState>(); CurrentState = ""; NextState = ""; TransitionSpeed = 1.0f; }
public GameState(Game1 game, string name, GameStateManager stateManager) { Game = game; Name = name; StateManager = stateManager; IsInitialized = false; TransitionValue = 0.0f; Transitioning = TransitionMode.Entering; }
public WinState(Game1 game, GameStateManager GSM, PlayState play) : base(game, "PlayState", GSM) { Play = play; SpriteBatch = new SpriteBatch(Game.GraphicsDevice); }
public PlayState(Game1 game, GameStateManager GSM) : base(game, "PlayState", GSM) { }