示例#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);
            }
        }
示例#2
0
 public void setCardState(IHandState cardState)
 {
     this.cardState = cardState;
 }
示例#3
0
 // Card[] contextCard;
 public CardContext()
 {
     cardState = null;
 }