Bankroll

class Bankroll

Your bankroll consists of how many chips you have, and what your stake is.

All numbers are in pennies.

Adding chips, and cashing them out, just like real life, does nothing to change your stake, because chips are like cash.

Your stake only changes as you win our lose.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun add(value: Int)
Link copied to clipboard
fun getChips(): Long
Link copied to clipboard
fun getLiveValue(players: List<Player>?): Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getTableChips(players: List<Player>?): Long
Link copied to clipboard
fun reset()
Link copied to clipboard
fun settle(players: ArrayList<Player>)
Link copied to clipboard
Link copied to clipboard
fun subtract(value: Int): Int
Link copied to clipboard
open override fun toString(): String