Esempio n. 1
0
 public void WaitPlayerDrawingAction(PokerEngine.Player player, PokerEngine.Engine.PlayerDrawingAction action)
 {
     helper.WaitPlayerDrawingAction(player, action);
     if (action.DrawnCards.Count == 1)
     {
         Speak("All I need is just one card...");
     }
     else if (action.DrawnCards.Count == 0)
     {
         Speak("You might as well fold. I don't need any card!");
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Called by the client to get the player drawing response.
 /// </summary>
 /// <param name="player">The player which draws the cards</param>
 /// <param name="action">The action which should be modified according to the player actions</param>
 public void WaitPlayerDrawingAction(PokerEngine.Player player, PokerEngine.Engine.PlayerDrawingAction action)
 {
     CheckWaitLimit();
     Invoke <PokerEngine.Player, PokerEngine.Engine.PlayerDrawingAction>(helper.WaitPlayerDrawingAction, player, action);
 }
Esempio n. 3
0
 /// <summary>
 /// Called by the client to get the player drawing response.
 /// </summary>
 /// <param name="player">The player which draws the cards</param>
 /// <param name="action">The action which should be modified according to the player actions</param>
 public void WaitPlayerDrawingAction(Player player, PokerEngine.Engine.PlayerDrawingAction action)
 {
 }