Beispiel #1
0
        public Parser(Bot bot)
        {
            Logger.Initialize ();

            this.Bot = bot;
            State = new State ();

            Logger.Info ("Parser:\tInitialized.");
        }
Beispiel #2
0
        public Parser(Bot bot, State state)
        {
            Logger.Initialize ();

            this.Bot = bot;
            this.State = state;

            Logger.Info ("Parser:\tInitialized.");
        }
Beispiel #3
0
        public State()
        {
            MyBot = new Bot (this);
            EnemyBot = new Bot (this);
            CompleteMap = new Map ();
            VisibleMap = new Map ();
            MyBot.ArmiesPerTurn = 5;
            EnemyBot.ArmiesPerTurn = 5;

            Logger.Info ("State:\tInitialized.");
        }