public class TilePathsError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends MapValidationError<G,A,R>
Constructor and Description |
---|
TilePathsError(MapModel<G,A,R> mapModel,
Direction direction,
java.lang.String tilePath)
Create a MapValidationError.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getParameter(int id)
Returns a parameter string to be used in the error message.
|
addGameObject, addMapSquare, getGameObjects, getMapModel, getMapSquares, getMessage, toString
public TilePathsError(@NotNull MapModel<G,A,R> mapModel, @NotNull Direction direction, @NotNull java.lang.String tilePath)
mapModel
- the map on which the error occurreddirection
- the direction on which the error occurredtilePath
- tile path which was wrong@Nullable public java.lang.String getParameter(int id)
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