예제 #1
0
 public void CmdTryClaimMiddle()
 {
     if (GameProperties.IsThereSameTypesInMiddle())
     {
         //TODO play middle click animation.
         GameProperties.NotSameTypesInMiddle();
         GameProperties.ResetNumberOfCardsOnTheTable();
         Server.CardsBeforeMove        = 1;
         Server.OnRoyalRound           = false;
         Server.CurrentRoyalRoundTimes = 1;
         PlayerSet.ClaimMiddleCards();
     }
     else
     {
         //Someone else got the cards... Warn them perhaps?
     }
 }