io.github.srs.model.entity

Members list

Type members

Classlikes

trait Entity

Represents a generic entity in a two-dimensional space.

Represents a generic entity in a two-dimensional space.

An entity is characterized by its position, shape, and orientation.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Robot
class Obstacle
class Light
class Boundary
Show all
object Entity

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Entity.type
trait Orientation

Represents an orientation in a two-dimensional plane.

Represents an orientation in a two-dimensional plane.

The orientation is expressed in degrees but can also be converted to radians.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Orientation

Companion object for Orientation, providing a factory method.

Companion object for Orientation, providing a factory method.

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
object Point2D

Companion object for Point2D, providing convenient factory methods.

Companion object for Point2D, providing convenient factory methods.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Point2D.type
enum ShapeType

ShapeType represents different geometric shapes used in the simulation.

ShapeType represents different geometric shapes used in the simulation.

Attributes

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

Types

type Point2D = (Double, Double)

Represents a point in a two-dimensional Cartesian coordinate system.

Represents a point in a two-dimensional Cartesian coordinate system.

A Point2D is defined as a tuple of two Double values: (x, y).

Attributes