Exemplo n.º 1
0
 public virtual void init()
 {
     activeState     = State.IDLE;
     lastBattleState = State.IDLE;
     c             = manager.getConsole();
     maxBattles    = 1;
     isContinuous  = false;
     currentBattle = 1;
 }
Exemplo n.º 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();
 }
Exemplo n.º 3
0
 public ReplayLearner(IWebDriver b, BotConsole con)
 {
     browser = b;
     c       = con;
 }