Example #1
0
 public void Setup()
 {
     _game = new StrategyGame();
     _game.SetupGame(GameSettings.Default());
     _game.LoadData();
     _game.Map = GameMaps.LoadMap(_game, "PinWheel2");
 }
Example #2
0
 private void LoadSettings()
 {
     _game.SetupGame(_settings);
     _game.LoadData();
     _game.Map = GameMaps.LoadMap(_game, _settings.MapName);
     _game.InitialiseGame(false);
 }
Example #3
0
        public void Setup()
        {
            _game = new StrategyGame();
            _game.SetupGame(GameSettings.Default());
            _game.LoadData();

            _target = _game.Ships.CreateShip("Scout", 1, Color.White, 0);
        }
Example #4
0
        public void Setup()
        {
            _game = new StrategyGame();
            _game.SetupGame(GameSettings.Default());
            _game.LoadData();

            _target = new ResourceAsteroid(_game, new Random(), 100, 100, 0);
        }
Example #5
0
        public void Setup()
        {
            _game = new StrategyGame();

            _game.SetupGame(GameSettings.Default());
            _target = GameMaps.LoadMap(_game, "PinWheel2");
            _target.SetVisibilityToTeam(1, true);
        }
Example #6
0
        public void Setup()
        {
            var game = new StrategyGame();

            game.SetupGame(GameSettings.Default());
            game.LoadData();

            _target = new Ship(game, string.Empty, 10, 10, Color.White, 1, 1, TestHealth, 1, 0);
        }
Example #7
0
        public void Setup()
        {
            _game = new StrategyGame();
            _game.SetupGame(GameSettings.Default());
            _game.LoadData();

            _game.Credits[0] = 0;
            _game.Credits[1] = 0;
        }
Example #8
0
        public void Setup()
        {
            _settings = GameSettings.Default();
            _game     = new StrategyGame();

            _game.SetupGame(_settings);
            _game.LoadData();
            _game.Map = GameMaps.LoadMap(_game, _settings.MapName);
        }
Example #9
0
        public void Setup()
        {
            _game = new StrategyGame();

            _game.SetupGame(GameSettings.Default());
            _game.LoadData();
            _game.Map = GameMaps.LoadMap(_game, "PinWheel2");

            _target = new CommanderAI(_game, 2, Color.Red, null);
        }
Example #10
0
        public void Setup()
        {
            var settings = GameSettings.Default();

            _game = new StrategyGame();
            _game.SetupGame(settings);
            _game.LoadData();
            _game.Map = GameMaps.LoadMap(_game, settings.MapName);
            _game.InitialiseGame();
        }
Example #11
0
        public MapDesigner()
        {
            InitializeComponent();

            _game                 = new StrategyGame();
            _selectedSector       = SectorLabel;
            _frame                = new Bitmap(MapPanel.Width, MapPanel.Height);
            MapSize.SelectedIndex = 0;

            _game.SetupGame(GameSettings.Default());
        }
Example #12
0
 public void Setup()
 {
     _game = new StrategyGame();
     _game.SetupGame(GameSettings.Default());
 }