public override void StartGame() { base.SetAnimations(this.TheGameAnimations, this.TheGameAnimations, this.TheGameAnimations); base.SetThreadEndHandlers(this.LalaOneAnimationsEnded, this.LalaTwoAnimationsEnded, this.LalaThreeAnimationsEnded); this.Data = new GameData(); this.Lewt = new LootTable(); this.InitializeGameConditions(); this.State = GameState.Initialized; UpdateAll(Enums.KeybindAction.EquipOutfit1); this.State = GameState.Running; base.StartGame(); }
public void StartGame() { this.Data = new GameData(); this.Lewt = new LootTable(); this.InitializeGameConditions(); this.State = GameState.Initialized; this.Worker = new BackgroundWorker(); this.Worker.DoWork += GameThreadStart; this.Worker.RunWorkerCompleted += GameThreadEnd; Update(Enums.KeybindAction.EquipOutfit1); this.Worker.RunWorkerAsync(); }