Exemple #1
0
 public virtual void init()
 {
     activeState = State.IDLE;
     lastBattleState = State.IDLE;
     c = manager.getConsole();
     maxBattles = 1;
     isContinuous = false;
     currentBattle = 1;
 }
Exemple #2
0
        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);

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

        }