PositionSurrogate

@Serializable
sealed interface PositionSurrogate

Surrogate interface for the it.unibo.alchemist.model.Position interface. Note: by using the sealed keyword any subclass of PositionSurrogate can be serialized and deserialized automatically using a polymorphic serializer.

Inheritors

Properties

Link copied to clipboard
abstract val coordinates: DoubleArray

The coordinates of the position.

Link copied to clipboard
abstract val dimensions: Int

The number of dimensions of the position.