public CurrentGameState(GameMode gameMode, Hero hero)
 {
     Me = new CurrentHeroData();
     Minimap = new MinimapData();
     Me.HeroData = hero;
     GameMode = gameMode;
 }
示例#2
0
 public void Start(Hero hero, GameMode mode)
 {
     GameState = new CurrentGameState {Me = {HeroData = hero}, GameMode = mode};
     var thread = new Thread(o => { MainBotLoop(); });
     thread.Start();
 }