Class Position2DSurrogate
-
- All Implemented Interfaces:
-
it.unibo.alchemist.boundary.graphql.schema.model.surrogates.PositionSurrogate
public final class Position2DSurrogate implements PositionSurrogate
A 2D surrogate for a Position object.
-
-
Field Summary
Fields Modifier and Type Field Description private final Double
x
private final Double
y
private final List<Double>
coordinates
private final Integer
dimensions
-
Method Summary
Modifier and Type Method Description final Double
getX()
final Double
getY()
List<Double>
getCoordinates()
The coordinates of the position. Integer
getDimensions()
The dimension of the position. -
-
Method Detail
-
getCoordinates
List<Double> getCoordinates()
The coordinates of the position.
-
getDimensions
Integer getDimensions()
The dimension of the position.
-
-
-
-