public void Setup() { player = HearthEntityFactory.CreatePlayer <Warlock>(); opponent = HearthEntityFactory.CreatePlayer <Warlock>(); GameEngine.Initialize(player, opponent, null, 0, player); }
public void Setup() { player = HearthEntityFactory.CreatePlayer <Warlock>(); opponent = HearthEntityFactory.CreatePlayer <Warlock>(); GameEngine.Initialize(player, opponent); GameEngine.GameState.CurrentPlayer = player; }
public void Setup() { player = HearthEntityFactory.CreatePlayer <Warlock>(); opponent = HearthEntityFactory.CreatePlayer <Warlock>(); string zooLockDeckFile = Path.Combine(DeckTestDataPath, "ZooLock.txt"); player.Deck = Deck.FromDeckFile(zooLockDeckFile); opponent.Deck = Deck.FromDeckFile(zooLockDeckFile); GameEngine.Initialize(player, opponent); gameEnded = false; gameResult = null; GameEngine.GameEnded += OnGameEnded; }