Factory object for creating Ticker instances with various configurations.
Attributes
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Creates a new Ticker with default intervals and specified framerate.
Creates a new Ticker with default intervals and specified framerate.
Uses default timing intervals suitable for typical casino simulation:
- Slot machines: 0.2 seconds (fast-paced)
- Roulette: 1.0 seconds (moderate pace)
- Blackjack: 0.7 seconds (card dealing speed)
- Spawning: 0.5 seconds (regular customer arrival)
Value parameters
- framerate
-
the target frames per second for the simulation
Attributes
- Returns
-
new Ticker instance with default intervals
Creates a new Ticker with custom intervals for all game types and spawning.
Creates a new Ticker with custom intervals for all game types and spawning.
Allows full customization of timing for different simulation aspects, useful for creating different casino atmospheres or testing scenarios.
Value parameters
- blackjackIntervalSeconds
-
time in seconds between blackjack rounds
- framerate
-
the target frames per second
- rouletteIntervalSeconds
-
time in seconds between roulette rounds
- slotIntervalSeconds
-
time in seconds between slot machine rounds
- spawnIntervalSeconds
-
time in seconds between customer spawning
Attributes
- Returns
-
new Ticker instance with custom intervals