Exemplo n.º 1
0
        public Hand(IPlayableObject playableObject, bool isRight, string handState)
        {
            this.parent   = playableObject;
            this.IsRight  = isRight;
            this.IsActive = false;

            if (handState == "AttackHand")
            {
                HandState = new AttackHand(parent, this.IsRight);
            }
        }
Exemplo n.º 2
0
 public void setCardState(IHandState cardState)
 {
     this.cardState = cardState;
 }
Exemplo n.º 3
0
 // Card[] contextCard;
 public CardContext()
 {
     cardState = null;
 }