Event

update.Event
enum Event

Enumeration of all possible events that can occur in the casino simulation.

Events represent discrete actions or state changes that drive the simulation forward. They follow an event-driven architecture pattern where different parts of the system can trigger events, and event handlers process them to update the simulation state accordingly.

Events are categorized into regular simulation updates (ticks, position updates), configuration changes (walls, games), and control actions (reset, spawning).

Attributes

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

Members list

Type members

Enum entries

final case class AddCustomers(strategy: SpawningStrategy)
final case class BorderConfig(x: Double, y: Double, width: Double, height: Double)
case ResetSimulation extends Event
case SimulationTick extends Event
case SpawnCustomers extends Event
case UpdateGames extends Event
final case class UpdateWalls(walls: List[Wall])
final case class updateGamesList(games: List[Game])