Пример #1
0
 void IEndPhase.OnEndPhase(MasqueradePlayer turn, System.Action callback)
 {
     if (Card.IsFaceUp)
     {
         int cardsToDraw = 3 - turn.Hand.CardsOwned.Count;
         if (cardsToDraw > 0)
         {
             Networking.DrawCardFacing(turn.PlayerIndex, cardsToDraw, true);
         }
         callback();
     }
     else
     {
         callback();
     }
 }