io.github.srs.config.yaml.serializer.encoders

Members list

Type members

Classlikes

object DynamicEntity

Encoders for DynamicEntity types.

Encoders for DynamicEntity types.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Entity

Encoders for various entity types.

Encoders for various entity types.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Entity.type
object Environment

Encodes an Environment to a JSON object.

Encodes an Environment to a JSON object.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Simulation

Encoders for Simulation types.

Encoders for Simulation types.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Simulation.type

Encoders for SimulationConfig types.

Encoders for SimulationConfig types.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object StaticEntity

Encoders for StaticEntity types.

Encoders for StaticEntity types.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Exports

Defined exports

Exported from Entity

Encoder for a position represented as a tuple of (Double, Double).

Encoder for a position represented as a tuple of (Double, Double).

Attributes

Returns

An Encoder that serializes a position to JSON.

Exported from Entity

Encoder for Entity types.

Encoder for Entity types.

Attributes

Exported from Environment

Given an Environment, it encodes it to a JSON object.

Given an Environment, it encodes it to a JSON object.

Attributes

Returns

a JSON object representing the environment

Exported from StaticEntity

Encoder for Light.

Encoder for Light.

Attributes

Returns

An Encoder that serializes Light instances to JSON.

Exported from StaticEntity

Encoder for StaticEntity types.

Encoder for StaticEntity types.

Attributes

Returns

An Encoder that serializes StaticEntity instances to JSON.

Exported from DynamicEntity

Encoder for DynamicEntity types.

Encoder for DynamicEntity types.

Attributes

Returns

An Encoder that serializes DynamicEntity instances to JSON.

Exported from Simulation

Encoder for Simulation.

Encoder for Simulation.

Attributes

Returns

An Encoder that serializes Simulation instances to JSON.

Exported from SimulationConfig

Encoder for SimulationConfig.

Encoder for SimulationConfig.

Attributes

Returns

An Encoder that serializes SimulationConfig instances to JSON.