20 package net.sf.gridarta.model.validation.errors;
22 import java.awt.Component;
27 import org.jetbrains.annotations.NotNull;
47 super(mapSquare, gameObject);
51 public void correct(@NotNull
final Component parentComponent) {
58 super.addGameObject(gameObject);
static final long serialVersionUID
The serial version UID.
Class for validation errors related to more than a single GameObject.
void addGameObject(@NotNull final G gameObject)
Base package of all Gridarta classes.
Reflects a game object (object on a map).
GameObjects are the objects based on Archetypes found on maps.
void correct(@NotNull final Component parentComponent)
Try to correct this error.
This interface can be implemented by errors that provide a facility to correct them.
Validation error that's used when the DoubleTypeChecker detected a possible error on the map...
Interface for MapArchObjects.
DoubleTypeError(@NotNull final MapSquare< G, A, R > mapSquare, @NotNull final G gameObject)
Create an DoubleTypeError.