void StartNewGame(bool shuffle) { StopAllCoroutines(); if (shuffle) { deck.Shuffle(); } IEnumerable <Card> cards = deck.GetAllCards(); StartCoroutine(gameActions.StartNew(cards)); }
public IEnumerator StartNew(IEnumerable <Card> cards) { Reset(); return(boardActions.StartNew(cards)); }