Example #1
0
        public DebugAI(StrategyGame game, CommanderAI ai)
        {
            InitializeComponent();

            _ai   = ai;
            _game = game;
            UpdateDebugInfo();
        }
Example #2
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);
        }