 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.validation.checks;
31 import org.jetbrains.annotations.NotNull;
37 public class SysObjectNotOnLayerZeroChecker<G
extends GameObject<G, A, R>, A extends
MapArchObject<A>, R extends
Archetype<G, A, R>> extends
AbstractValidator<G, A, R> implements
GameObjectValidator<G, A, R> {
Default implementation for GameObject implementing classes.
Base package of all Gridarta classes.
int getAttributeInt(@NotNull String attributeName, boolean queryArchetype)
Returns the requested attribute value of this GameObject as.
Reflects a game object (object on a map).
void validateGameObject(@NotNull final G gameObject, @NotNull final ErrorCollector< G, A, R > errorCollector)
Validates a game object.
ValidationError that's used if a GameObject that is a SysObject is found on a layer other than 0.
static final String SYS_OBJECT
The name of the "sys_object" attribute.
final ValidatorPreferences validatorPreferences
The ValidatorPreferences to use.
Configuration parameters for Validators.
GameObjects are the objects based on Archetypes found on maps.
Interface for MapArchObjects.
An interface for classes that collect errors.
This is the base class for validators.
This package contains the framework for validating maps.
static final String LAYER
The name of the "layer" attribute.
SysObjectNotOnLayerZeroChecker(@NotNull final ValidatorPreferences validatorPreferences)
Creates a new instance.
T getHead()
Return the head part of a multi-part object.
A GameObjectValidator to assert that sys objects are only in layer 0.
Interface for GameObject Validators.