public PlayerTests() { var deck = DevelopmentsFactory.GetDeck(); Diamond1 = deck.First(x => x.Id == 1); Diamond2 = deck.First(x => x.Id == 41); Onyx1 = deck.First(x => x.Id == 53); Onyx2 = deck.First(x => x.Id == 54); Onyx3 = deck.First(x => x.Id == 55); Emerald = deck.First(x => x.Id == 33); player = new Player(1, Avatars.Danilo, ColorFactory.DefaultBlue, isHuman: true); player.BuyCard(Diamond1); player.BuyCard(Diamond2); player.BuyCard(Onyx1); player.BuyCard(Onyx2); player.BuyCard(Onyx3); player.ReserveCard(Emerald); player.AddGems(Gems.Onyx, Gems.Sapphire, Gems.Sapphire); }
public DevelopmentTests() { deck = DevelopmentsFactory.GetDeck().ToList(); TwoOnysAndTwoSapphires = deck.First(x => x.Id == 1); FiveRubys = deck.First(x => x.Id == 41); }
public MoveTests() { fourPointDevelopment = DevelopmentsFactory.GetDeck().First(x => x.Id == 87); }