Beispiel #1
0
        // stub function, testing only
        private static List <Cards.BaseCard> GetLoyaltyList()
        {
            List <Cards.BaseCard> cards = new List <Cards.BaseCard>();

            Cards.LoyaltyCard card = new Cards.LoyaltyCard();
            card.Loyalty = Cards.Enums.Loyalty.Cylon;
            cards.Add((Cards.BaseCard)card);
            card         = new Cards.LoyaltyCard();
            card.Loyalty = Cards.Enums.Loyalty.NotACylon;
            cards.Add((Cards.BaseCard)card);
            card         = new Cards.LoyaltyCard();
            card.Loyalty = Cards.Enums.Loyalty.NotACylon;
            cards.Add((Cards.BaseCard)card);
            return(cards);
        }
Beispiel #2
0
 // stub function, testing only
 private static List<Cards.BaseCard> GetLoyaltyList()
 {
     List<Cards.BaseCard> cards = new List<Cards.BaseCard>();
     Cards.LoyaltyCard card = new Cards.LoyaltyCard();
     card.Loyalty = Cards.Enums.Loyalty.Cylon;
     cards.Add((Cards.BaseCard)card);
     card = new Cards.LoyaltyCard();
     card.Loyalty = Cards.Enums.Loyalty.NotACylon;
     cards.Add((Cards.BaseCard)card);
     card = new Cards.LoyaltyCard();
     card.Loyalty = Cards.Enums.Loyalty.NotACylon;
     cards.Add((Cards.BaseCard)card);
     return cards;
 }