20 package net.sf.gridarta.model.validation.errors;
26 import org.jetbrains.annotations.NotNull;
27 import org.jetbrains.annotations.Nullable;
54 for (
final G gameObject : gameObjects) {
55 addGameObject(gameObject);
64 return Integer.toString(connected);
Base Class for validation errors on maps.
Validation for incorrectly connected objects.
A MapModel reflects the data of a map.
static final long serialVersionUID
The serial version UID.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
final int connected
The erroneous connected value.
ConnectionError(@NotNull final MapModel< G, A, R > mapModel, final int connected, @NotNull final Iterable< G > gameObjects)
Create a new instance.
GameObjects are the objects based on Archetypes found on maps.
Interface for MapArchObjects.
String getParameter(final int id)