예제 #1
0
 public virtual void init()
 {
     activeState = State.IDLE;
     lastBattleState = State.IDLE;
     c = manager.getConsole();
     maxBattles = 1;
     isContinuous = false;
     currentBattle = 1;
 }
예제 #2
0
파일: Bot.cs 프로젝트: Deviach/ShowdownBot
        public Bot(Consol c)
        {
            this.c = c;
            isRunning = false;
            //activeState = State.IDLE;
            modeCurrent = AiMode.RANDOM; //TODO: set default in config to be read
            Global.pokedex = new Dictionary<string, Pokemon>();
            ReadFile();
            Global.setupTypes();
            BuildPokedex();
            Global.moves = new Dictionary<string,Move>();
            movelist = new Movelist();
            movelist.initialize();
            cwrite("Ready for input!", COLOR_OK);

            
           
        }
예제 #3
0
        public ReplayLearner(IWebDriver b, Consol con)
        {
            browser = b;
            c = con;

        }