public BBNGame() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; gameControler = new BBN_Game.Controller.GameController(this); }
public AIController(GridStructure spatialGrid, NavigationComputer navComputer, GameController gameController, List<StaticObject> mapTurrets) { infoOnTeams = new List<TeamInformation>(); this.spatialGrid = spatialGrid; this.navComputer = navComputer; this.gameController = gameController; this.mapTurrets = mapTurrets; randomizer = new Random(); }
//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; }