Beispiel #1
0
        public BBNGame()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            gameControler = new BBN_Game.Controller.GameController(this);
        }
Beispiel #2
0
 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();
 }
Beispiel #3
0
 //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;
 }