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