 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.var.crossfire.model.validation.checks;
37 import org.jetbrains.annotations.NotNull;
71 if (mapSquare ==
null) {
MapPath getMapPath()
Returns the map path.
A MapModel reflects the data of a map.
A getMapArchObject()
Returns the Map Arch Object with the meta information about the map.
MapSquare< G, A, R > getMapSquareOptional()
Returns the MapSquare this game object is part of.
A MapPath that is absolute, that is, it starts with a "/".
A GameObjectValidationError that describes an exit GameObject having an invalid exit path.
Base package of all Gridarta classes.
void validateGameObject(@NotNull final GameObject gameObject, @NotNull final ErrorCollector< GameObject, MapArchObject, Archetype > errorCollector)
Interface for classes that match GameObjects.
boolean isMatching(@NotNull GameObject<?, ?, ?> gameObject)
Matches a GameObject.
final ValidatorPreferences validatorPreferences
The ValidatorPreferences to use.
Configuration parameters for Validators.
Implements Crossfire archetypes.
MapArchObject contains the specific meta data about a map that is stored in the map-arch,...
Classes related to matching {GameObjects}, so called { net.sf.gridarta.model.match....
Main package of Gridarta4Crossfire, contains all classes specific to the Crossfire version of the Gri...
Exception thrown if a game object does not specify a valid exit path.
An interface for classes that collect errors.
This is the base class for validators.
Represents a maps directory local map path.
Represents a location on a map consisting of a map path and a map coordinate.
This package contains the framework for validating maps.
MapModel< G, A, R > getMapModel()
Returns the MapModel this map square is part of.
This package contains the checks for validating maps.
Handles the Crossfire variants of GameObjects and Archetypes.
NonAbsoluteExitPathChecker(@NotNull final ValidatorPreferences validatorPreferences, @NotNull final GameObjectMatcher exitGameObjectMatcher)
Creates a new instance.
final GameObjectMatcher exitGameObjectMatcher
The GameObjectMatcher for matching exit objects.
Handles the Crossfire GameObjects.
Interface for GameObject Validators.
boolean isUnique()
Get whether this map is unique.
A net.sf.gridarta.model.validation.MapValidator that checks for relative exit paths within unique map...