public class MapCheckerScriptMissingError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends MapValidationError<G,A,R>
MapValidationError
that indicates that the map checker script could
not be found.Modifier | Constructor and Description |
---|---|
protected |
MapCheckerScriptMissingError(@NotNull MapModel<G,A,R> mapModel,
@NotNull java.lang.String command,
@NotNull java.lang.String reason)
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 MapCheckerScriptMissingError(@NotNull @NotNull MapModel<G,A,R> mapModel, @NotNull @NotNull java.lang.String command, @NotNull @NotNull java.lang.String reason)
mapModel
- the map on which the error occurredcommand
- the command that could not be executedreason
- the failure reason@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