예제 #1
0
 public MenuGameState(GameStateManager gameStateManager)
 {
     //addButtons();
     this.gameStateManager = gameStateManager;
 }
예제 #2
0
        private KeyboardState oldState; // Holds old KeyBoardState

        public InventoryGameState(GameStateManager gameStateManager)
        {
            this.gameStateManager = gameStateManager;
            spriteBatch           = new SpriteBatch(graphics);
        }