Пример #1
0
    public static void PrepareManuallyBuiltDeckForThePlayerAndGetReadyForSaving(Card[] cards)
    {
        playerDeckBuilder = ManualDeckBuider.Create(cards);

        int[] cardIndexes = ((ManualDeckBuider)playerDeckBuilder).GetIndexOfEachCardPrototype();
        PrepareDeckIndexesForSaving(cardIndexes);
    }
Пример #2
0
 public static void PrepareLoadedDeckForThePlayer(int[] cardIndexes)
 {
     playerDeckBuilder = ManualDeckBuider.Create(cardIndexes);
 }