public class UndefinedFaceError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends GameObjectValidationError<G,A,R>
GameObjectValidationError
indicating a game object references an
undefined face.Constructor and Description |
---|
UndefinedFaceError(G gameObject,
@NotNull java.lang.String faceName)
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
public UndefinedFaceError(@NotNull G gameObject, @NotNull @NotNull java.lang.String faceName)
gameObject
- the invalid game objectfaceName
- the invalid face name@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