public class ShopSquare2Error<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends SquareValidationError<G,A,R>
SquareValidationError
for shop tiles that have an adjacent map
square that is not blocked and does allow spells or prayers.Constructor and Description |
---|
ShopSquare2Error(@NotNull MapSquare<G,A,R> mapSquare)
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
@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