void HandleCardClick(Card card) { if (FormsValidRun(card)) { gameActions.ExecuteRun(card); } else if (DrawPileClicked(card)) { gameActions.DrawCard(); } else { // No behaviour associated with this card. } }
public void ExecuteRun(Card card) { IncreaseRun(); boardActions.ExecuteRun(card); }