예제 #1
0
 /// <summary>
 /// Called by the client to get the current player betting action. Derived classes must implement it and respond with a
 /// proper action
 /// </summary>
 /// <param name="player">The player which needs to bet</param>
 /// <param name="action">The action to use to pass the player response</param>
 /// <returns>
 /// The player action modified to reflect the player action taken.
 /// </returns>
 public PlayerBettingAction WaitPlayerBettingAction(Player player, PlayerBettingAction action)
 {
     checkBettingStarted();
     concreteClient.WaitPlayerBettingAction(player, action);
     return(action);
 }
예제 #2
0
 /// <summary>
 /// Called by the client to get the current player betting action. Derived classes must implement it and respond with a
 /// proper action
 /// </summary>
 /// <param name="player">The player which needs to bet</param>
 /// <param name="action">The action to use to pass the player response</param>
 public virtual void WaitPlayerBettingAction(Player player, PlayerBettingAction action)
 {
     helper.WaitPlayerBettingAction(player, action);
 }