20 package net.sf.gridarta.model.archetypeset;
29 import org.jetbrains.annotations.NotNull;
83 final String animName = archetype.getAnimName();
84 if (animName != null && !animName.equals(
"NONE")) {
86 if (animation == null) {
91 final String faceName = archetype.getFaceName();
92 if (faceName != null) {
final FaceObjects faceObjects
The FaceObjects instance for looking up face names.
Common interface for FaceObject.
Gridarta can handle frame information of animations and allow the selection of an animation using a t...
Utility class for validating ArchetypeSet instances.
void validateArchetype(@NotNull final Archetype<?, ?, ?> archetype)
Validates an Archetype instance.
void addWarning(@NotNull ErrorViewCategory categoryName, @NotNull String message)
Adds a warning message.
Defines possible error categories for ErrorView instances.
Interface for classes displaying error messages.
Base package of all Gridarta classes.
E get(@NotNull String objectName)
Gets a AbstractNamedObject.
AnimationObjects is a container for AnimationObjects.
An AnimationObject reflects the animation ("@code anim\n @endcode " ...
FaceObjects is a container for FaceObjects.
The face is the appearance of an object.
void validate(@NotNull final ArchetypeSet<?, ?, ?> archetypeSet)
Validates an ArchetypeSet instance.
final AnimationObjects animationObjects
The AnimationObjects instance for looking up animation names.
final ErrorView errorView
The ErrorView for reporting errors.
ArchetypeValidator(@NotNull final AnimationObjects animationObjects, @NotNull final FaceObjects faceObjects, @NotNull final ErrorView errorView)
Creates a new instance.