DynamicEntity

io.github.srs.model.entity.dynamicentity.DynamicEntity
trait DynamicEntity extends Entity

Represents a dynamic entity. A dynamic entity is an entity that can change its state over time.

Attributes

Graph
Supertypes
trait Entity
class Object
trait Matchable
class Any
Known subtypes
class Robot

Members list

Value members

Abstract methods

def actuators: Seq[Actuator[_ <: DynamicEntity]]

Returns the sequence of actuators that can act upon a dynamic entity.

Returns the sequence of actuators that can act upon a dynamic entity.

Attributes

Returns

the sequence of actuators.

Returns the behavior of the dynamic entity, which defines how it reacts to sensor readings.

Returns the behavior of the dynamic entity, which defines how it reacts to sensor readings.

Attributes

Returns

the behavior of the dynamic entity.

def sensors: Vector[Sensor[_ <: DynamicEntity, _ <: Environment]]

Returns the sequence of sensors that can sense the environment for a dynamic entity.

Returns the sequence of sensors that can sense the environment for a dynamic entity.

Attributes

Returns

the sequence of sensors.

Inherited and Abstract methods

def id: UUID

The unique identifier for the entity.

The unique identifier for the entity.

Attributes

Returns

a unique identifier UUID.

Inherited from:
Entity

The orientation of the entity in 2D space.

The orientation of the entity in 2D space.

Attributes

Returns

an Orientation representing the angle or facing direction of this entity.

Inherited from:
Entity

The position of the entity in 2D space.

The position of the entity in 2D space.

Attributes

Returns

a Point2D representing the (x, y) coordinates of this entity.

Inherited from:
Entity

The shape type of the entity.

The shape type of the entity.

Attributes

Returns

the ShapeType that defines the geometric shape of this entity.

Inherited from:
Entity