20 package net.sf.gridarta.model.validation.errors;
25 import org.jetbrains.annotations.NotNull;
26 import org.jetbrains.annotations.Nullable;
55 public CustomTypeError(@NotNull
final G gameObject,
final int archetypeType,
final int gameObjectType) {
66 return Integer.toString(archetypeType);
69 return Integer.toString(gameObjectType);
static final long serialVersionUID
The serial version UID.
Class for validation errors related to an GameObject.
CustomTypeError(@NotNull final G gameObject, final int archetypeType, final int gameObjectType)
Create a new instance.
String getParameter(final int id)
Base package of all Gridarta classes.
Reflects a game object (object on a map).
final int gameObjectType
The game object's type number.
GameObjects are the objects based on Archetypes found on maps.
Validation error indicating a game object with a custom type.
final int archetypeType
The archetype's type number.
Interface for MapArchObjects.