/// <summary> /// Initializes a new instance of the <see cref="GwentGame"/> class. /// </summary> public GwentGame(IPlayer player1, IPlayer player2, IGwentGameOperations operations, IGwentGameIO io) { _operations = operations; _io = io; player1.PlayerNumber = 1; player2.PlayerNumber = 2; (_activePlayer, _opponentPlayer) = _operations.SelectActiveAndOpponentPlayersRandomly(player1, player2); }
public void OneTimeSetup() { _operations = new GwentGameOperations(); }