예제 #1
0
        internal void ChangeDrawCard()
        {
            switch (ActiveCard)
            {
            case Cards.BlueCard:
                BlueCard.Remove();
                RedCard.Add();
                ActiveCard = Cards.RedCard;
                break;

            case Cards.RedCard:
                RedCard.Remove();
                YellowCard.Add();
                ActiveCard = Cards.GoldCard;
                break;

            case Cards.GoldCard:
                YellowCard.Remove();
                OffCard.Add();
                ActiveCard = Cards.OffCard;
                break;

            case Cards.OffCard:
                OffCard.Remove();
                BlueCard.Add();
                ActiveCard = Cards.BlueCard;
                break;
            }
        }
예제 #2
0
 internal void ActivateMe()
 {
     ActiveCard = Cards.BlueCard;
     BlueCard.Add();
 }