//constructor public MenuController(GameController controller, BBN_Game.BBNGame g) { gameController = controller; this.game = g; graphics = g.GraphicsDevice; currentState = controller.CurrentGameState; gameController.PreviousState = currentState; Content = g.Content; screenHeight = graphics.Viewport.Height; screenWidth = graphics.Viewport.Width; }
public GameController(BBN_Game.BBNGame game) { this.game = game; // Set up the Variables gameState = GameState.MainMenu; prevGameState = GameState.notLoaded; numPlayers = Players.single; ObjectsLoaded = false; }