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(); }
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); }