コード例 #1
0
 public void OnClick_Continu(object sender, EventArgs e)
 {
     if (_PlayerHandler.CheckIfPlayerCanBuy(CurrentPlayer, AmountToPay))
     {
         this.Content = null;
         if (CardTempo == null)
         {
             EventCellAction();
         }
         else
         {
             EventCardAction(CardTempo);
         }
     }
     else
     {
         UINotifyAlertMessage("Vous n'avez toujours pas assez d'argent pour payer le montant : " + AmountToPay, AlertDialog.TypeOfAlert.WARNING);
     }
 }