model.entities
Members list
Packages
Type members
Classlikes
Attributes
- Supertypes
-
trait Player[T]trait Entitytrait Movable[T]trait Positionedclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class Customer
Trait providing collision detection capabilities for positioned and sized entities.
Trait providing collision detection capabilities for positioned and sized entities.
Combines position and size information to enable spatial collision detection, point containment checks, and geometric calculations. Uses axis-aligned bounding box (AABB) collision detection for efficient spatial queries.
Attributes
- Supertypes
- Known subtypes
-
trait CollidableEntitytrait Gameclass BlackJackGameclass RouletteGameclass SlotMachineGameclass WallShow all
Combined trait for entities that are both collidable and have unique identifiers.
Combined trait for entities that are both collidable and have unique identifiers.
Represents simulation entities that can participate in collision detection and can be uniquely identified within the system.
Attributes
- Supertypes
-
trait Entitytrait Collidabletrait Positionedtrait Sizedclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Base trait for all entities in the simulation system.
Base trait for all entities in the simulation system.
Defines the minimal contract that all simulation entities must fulfill. Every entity in the system must have a unique identifier for tracking, collision detection, state management, and entity relationships.
This trait serves as the foundation for the entity hierarchy, allowing different types of simulation objects (customers, games, spawners, etc.) to be handled uniformly while maintaining their unique identities.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Customerclass Spawnertrait CollidableEntitytrait Gameclass BlackJackGameclass RouletteGameclass SlotMachineGametrait Player[T]trait ChangingFavouriteGamePlayer[T]class WallShow all
Attributes
- Supertypes
- Known subtypes
-
trait ChangingFavouriteGamePlayer[T]class Customer
Trait for entities that have a position in 2D space.
Trait for entities that have a position in 2D space.
Provides the basic capability for an entity to exist at a specific coordinate location within the simulation world.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait Movable[T]trait MovableWithPrevious[M]class Customertrait Player[T]trait ChangingFavouriteGamePlayer[T]class Context[M]trait Collidabletrait CollidableEntitytrait Gameclass BlackJackGameclass RouletteGameclass SlotMachineGameclass WallShow all
Trait for entities whose dimensions can be modified at runtime.
Trait for entities whose dimensions can be modified at runtime.
Provides methods to dynamically change an entity's width and height, useful for entities that need to resize during simulation or for configuration purposes.
Attributes
- Supertypes
- Known subtypes
-
class Wall
Trait for entities that have physical dimensions.
Trait for entities that have physical dimensions.
Defines the size properties that determine how much space an entity occupies in the simulation world. Used in conjunction with position for collision detection and spatial calculations.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait Collidabletrait CollidableEntitytrait Gameclass BlackJackGameclass RouletteGameclass SlotMachineGameclass Walltrait SizeChangingEntityShow all
Represents a wall entity that acts as a collision barrier in the
Represents a wall entity that acts as a collision barrier in the
simulation.
Walls are static rectangular obstacles that can block movement and provide boundaries within the simulation space.They support dynamic resizing and participate in the collision detection system .
Value parameters
- height
-
the height of the wall in simulation units
- id
-
unique identifier for this wall instance
- position
-
the 2D coordinates of the wall 's top -left corner
- width
-
the width of the wall in simulation units
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Entitytrait SizeChangingEntitytrait Collidabletrait Sizedtrait Positionedclass Objecttrait Matchableclass AnyShow all