RouletteBet

model.entities.games.RouletteBet
case class RouletteBet(amount: Double, targets: List[Int]) extends Bet

Represents a bet placed on a roulette game with specific number targets.

Roulette bets allow players to wager on one or more numbers on the wheel. All target numbers must be valid roulette numbers (0-36).

Value parameters

amount

the monetary amount being wagered

targets

the list of roulette numbers (0-36) being bet on

Attributes

Throws
IllegalArgumentException

if any target is outside the valid range (0-36)

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Bet
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product