Simple Poker Template 0.0.1
Loading...
Searching...
No Matches
SimplePoker.Logic.Pot Class Reference

Represents a pot in the poker game with the list of bets made to the pot. More...

Public Member Functions

 Pot (GameManager.TurnPoker turnPoker)
 
void AddBet (PlayerBase player, int chips)
 Adds a bet for the specified player.
 

Public Attributes

List< BetBetList = new List<Bet>()
 

Properties

GameManager.TurnPoker TurnPoker [get]
 

Detailed Description

Represents a pot in the poker game with the list of bets made to the pot.

Constructor & Destructor Documentation

◆ Pot()

SimplePoker.Logic.Pot.Pot ( GameManager::TurnPoker turnPoker)

Member Function Documentation

◆ AddBet()

void SimplePoker.Logic.Pot.AddBet ( PlayerBase player,
int chips )

Adds a bet for the specified player.

Parameters
playerThe player making the bet.
chipsThe number of chips being bet.

Member Data Documentation

◆ BetList

List<Bet> SimplePoker.Logic.Pot.BetList = new List<Bet>()

Property Documentation

◆ TurnPoker

GameManager.TurnPoker SimplePoker.Logic.Pot.TurnPoker
get

The documentation for this class was generated from the following file: