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