C# 클래스 holdem_engine.Pot

A pot is defined as an amount of money which is currently able to be won by only those who are eligible. Author: Wesley Tansey
파일 보기 프로젝트 열기: tansey/holdem_engine

공개 메소드들

메소드 설명
Add ( double amount ) : void

Adds money to the pot.

AddPlayer ( int playerIdx, double amount ) : void

Adds a player to the pot.

GetWinners ( uint handStrengths, List winners ) : void

Gets the winners of this pot according to the given dictionary of players' hand strengths. Winners are added to the winner list.

Pot ( string potName, Seat players ) : System

Creates a new, empty Pot with the given name.

RemovePlayer ( int playerIdx ) : void

Removes a player from this pot, but keeps his money in there.

메소드 상세

Add() 공개 메소드

Adds money to the pot.
public Add ( double amount ) : void
amount double
리턴 void

AddPlayer() 공개 메소드

Adds a player to the pot.
public AddPlayer ( int playerIdx, double amount ) : void
playerIdx int
amount double
리턴 void

GetWinners() 공개 메소드

Gets the winners of this pot according to the given dictionary of players' hand strengths. Winners are added to the winner list.
public GetWinners ( uint handStrengths, List winners ) : void
handStrengths uint An array of player hand strengths at showdown
winners List A list of winners to which to add the winners of this pot.
리턴 void

Pot() 공개 메소드

Creates a new, empty Pot with the given name.
public Pot ( string potName, Seat players ) : System
potName string
players Seat
리턴 System

RemovePlayer() 공개 메소드

Removes a player from this pot, but keeps his money in there.
public RemovePlayer ( int playerIdx ) : void
playerIdx int
리턴 void