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