public void Setup() { this._deck = new Deck(); this._tokenPool = new TokenPool(); this._specialCardPool = new SpecialCardPool(); this._specialCardPool.Setup(_tokenPool); this._communityCards = new CommunityCard(); _communityCards.AddFirst(_deck.Draw()); _communityCards.AddSecond(_deck.Draw()); _communityCards.AddThird(_deck.Draw()); _communityCards.AddFourth(_deck.Draw()); _communityCards.AddFifth(_deck.Draw()); _communityCards.AddSixth(_deck.Draw()); }
public void Setup(TokenPool tokenPool) { const int SHIP_COUNT = 14; for (int i = 0; i < SHIP_COUNT; i++) { _shipPool.Add(new Ship(tokenPool)); } const int SPECIAL_CARD_COUNT = 2; for (int i = 0; i < SPECIAL_CARD_COUNT; i++) { _dockerPool.Add(new Docker()); _officePool.Add(new Office()); _tradeAgreementPool.Add(new TradeAgreement()); } }
public void TestInitialize() { _pool = new TokenPool(); }
public Ship(TokenPool tokenPool) { this._tokenPool = tokenPool; }