Пример #1
0
 public virtual void init()
 {
     activeState     = State.IDLE;
     lastBattleState = State.IDLE;
     c             = manager.getConsole();
     maxBattles    = 1;
     isContinuous  = false;
     currentBattle = 1;
 }
Пример #2
0
 public Bot(BotConsole c)
 {
     this.c    = c;
     isRunning = false;
     //activeState = State.IDLE;
     modeCurrent    = AiMode.RANDOM;
     Global.pokedex = new Dictionary <string, Pokemon>();
     options        = new Dictionary <string, string>();
     ReadFile();
     Global.setupTypes();
     BuildPokedex();
     Global.moves = new Dictionary <string, Move>();
     movelist     = new Movelist();
     movelist.initialize();
 }
Пример #3
0
 public ReplayLearner(IWebDriver b, BotConsole con)
 {
     browser = b;
     c       = con;
 }