Пример #1
0
    void StartNewGame(bool shuffle)
    {
        StopAllCoroutines();
        if (shuffle)
        {
            deck.Shuffle();
        }
        IEnumerable <Card> cards = deck.GetAllCards();

        StartCoroutine(gameActions.StartNew(cards));
    }
Пример #2
0
 public IEnumerator StartNew(IEnumerable <Card> cards)
 {
     Reset();
     return(boardActions.StartNew(cards));
 }