public abstract class ConnectionError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends MapValidationError<G,A,R>
Modifier | Constructor and Description |
---|---|
protected |
ConnectionError(@NotNull MapModel<G,A,R> mapModel,
int connected,
@NotNull java.lang.Iterable<G> gameObjects)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
@Nullable java.lang.String |
getParameter(int id)
Returns a parameter string to be used in the error message.
|
addGameObject, addMapSquare, getGameObjects, getMapModel, getMapSquares, getMessage, toString
protected ConnectionError(@NotNull @NotNull MapModel<G,A,R> mapModel, int connected, @NotNull @NotNull java.lang.Iterable<G> gameObjects)
mapModel
- the map on which the error occurredconnected
- the erroneous connected valuegameObjects
- the erroneous game objects@Nullable public @Nullable java.lang.String getParameter(int id)
ValidationError
id
}.getParameter
in class ValidationError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
id
- the error id