EnvironmentParameters

io.github.srs.model.environment.EnvironmentParameters

Represents the environment in which entities exist.

The environment is defined by its width and height, which are used to constrain the movement and positioning of entities within it.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Environment

Members list

Value members

Abstract methods

def entities: Set[Entity]

A set of entities that exist within the environment.

A set of entities that exist within the environment.

Attributes

Returns

a Set of Entity representing the entities in the environment.

def height: Int

The height of the environment.

The height of the environment.

Attributes

Returns

a Double representing the height of the environment.

The light field of the environment, representing the illumination conditions.

The light field of the environment, representing the illumination conditions.

Attributes

Returns

a LightField representing the light field of the environment.

def width: Int

The width of the environment.

The width of the environment.

Attributes

Returns

a Double representing the width of the environment.