public void SetCardStack(ICardStack stack) { if (stack is FoundationProperties) { foundationProperties = stack as FoundationProperties; } }
public void SetCardStack(ICardStack stack) { if (stack is Tableau) { this.tableau = stack as TableauProperties; } }
public void SetCardStack(ICardStack stack) { if (stack is FreeCellProperties) { freeCell = stack as FreeCellProperties; UpdateSprite(); } }