20 package net.sf.gridarta.project;
49 import org.jetbrains.annotations.NotNull;
50 import org.jetbrains.annotations.Nullable;
122 AbstractArchetypeParser<G, A, R, ?> newArchetypeParser(@NotNull
ErrorView errorView,
GameObjectParser<G, A, R> gameObjectParser,
AnimationObjects animationObjects,
ArchetypeSet<G, A, R> archetypeSet, @NotNull
GameObjectFactory<G, A, R> gameObjectFactory, @NotNull
ProjectSettings projectSettings, @NotNull
SmoothFaces smoothFaces);
138 AbstractResources<G, A, R> newResources(@NotNull
GameObjectParser<G, A, R> gameObjectParser, @NotNull
ArchetypeSet<G, A, R> archetypeSet, @NotNull
AbstractArchetypeParser<G, A, R, ?> archetypeParser, @NotNull
FaceObjects faceObjects, @NotNull
AnimationObjects animationObjects, @NotNull
ArchFaceProvider archFaceProvider, @NotNull
FaceObjectProviders faceObjectProviders, @NotNull
SmoothFaces smoothFaces);
A factory for creating MapModel instances.
A validator that checks for suspicious attribute values.
AbstractArchetypeParser< G, A, R, ?> newArchetypeParser(@NotNull ErrorView errorView, GameObjectParser< G, A, R > gameObjectParser, AnimationObjects animationObjects, ArchetypeSet< G, A, R > archetypeSet, @NotNull GameObjectFactory< G, A, R > gameObjectFactory, @NotNull ProjectSettings projectSettings, @NotNull SmoothFaces smoothFaces)
Creates a new AbstractArchetypeParser instance.
int getDoubleFaceOffset()
Returns the offset for drawing double faces.
Convenience class for adding messages to a ErrorView instance using a fixed category name...
MapControlFactory< G, A, R > newMapControlFactory(@NotNull MapWriter< G, A, R > mapWriter, @NotNull ProjectSettings projectSettings, @NotNull MapModelFactory< G, A, R > mapModelFactory)
Creates a new MapControlFactory instance.
Reading and writing of maps, handling of paths.
This package contains classes related to matching GameObjects, so called GameObjectMatchers.
Settings that apply to a project.
Manages ArchetypeType instances, list, and bitmask definitions.
Interface for classes that write map files.
This package contains the framework for validating maps.
ArchetypeFactory< G, A, R > newArchetypeFactory(@NotNull FaceObjectProviders faceObjectProviders, @NotNull AnimationObjects animationObjects)
Creates a new ArchetypeFactory instance.
Gridarta can handle frame information of animations and allow the selection of an animation using a t...
MapArchObjectFactory< A > newMapArchObjectFactory(@NotNull ProjectSettings projectSettings)
Creates a new MapArchObjectFactory instance.
Factory for creating MapArchObject instances.
Interface for classes that read or write GameObject instances.
AbstractResources< G, A, R > newResources(@NotNull GameObjectParser< G, A, R > gameObjectParser, @NotNull ArchetypeSet< G, A, R > archetypeSet, @NotNull AbstractArchetypeParser< G, A, R, ?> archetypeParser, @NotNull FaceObjects faceObjects, @NotNull AnimationObjects animationObjects, @NotNull ArchFaceProvider archFaceProvider, @NotNull FaceObjectProviders faceObjectProviders, @NotNull SmoothFaces smoothFaces)
Creates a new AbstractResources instance.
String getScriptsDir()
Returns the default directory for editor scripts.
A factory for creating GameObjectParser instances.
Factory for creating MapArchObjectParser instances.
Interface for classes displaying error messages.
A factory for creating Archetype instances.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
Abstract factory for creating GameObject instances.
Collection of all smoothing information.
AnimationObjects is a container for AnimationObjects.
Configuration parameters for Validators.
GameObjects are the objects based on Archetypes found on maps.
GameObjectFactory< G, A, R > newGameObjectFactory(@NotNull FaceObjectProviders faceObjectProviders, @NotNull AnimationObjects animationObjects, @NotNull ArchetypeTypeSet archetypeTypeSet)
Creates a new GameObjectFactory instance.
Maintains GameObjectMatcher instances.
MapArchObjectParserFactory< A > newMapArchObjectParserFactory()
Creates a new MapArchObjectParserFactory instance.
FaceObjects is a container for FaceObjects.
Provider for faces of GameObjects and Archetypes.
The face is the appearance of an object.
String getSpellFile()
Returns the spell file name to load.
AttributeRangeChecker< G, A, R > loadAttributeRangeChecker(@NotNull ErrorViewCollector errorViewCollector, @NotNull GameObjectMatchers gameObjectMatchers, @NotNull ValidatorPreferences validatorPreferences)
Loads the attribute range checker for map validation.
boolean getIncludeFaceNumbers()
Returns whether the face file contains face numbers.
This package contains the checks for validating maps.
Interface that captures similarities between different ArchetypeSet implementations.
Implementation of FaceProvider which reads images from the arch directory.
int getSpellType()
Returns the archetype type for game object spells.
GameObjectParserFactory< G, A, R > newGameObjectParserFactory(@NotNull GameObjectFactory< G, A, R > gameObjectFactory, @NotNull ArchetypeSet< G, A, R > archetypeSet, @NotNull ArchetypeTypeSet archetypeTypeSet)
Creates a new GameObjectParserFactory instance.
Abstract base implementation of ArchetypeParser.
Defines types of GameObjects with corresponding attributes.
ArchetypeSet< G, A, R > newArchetypeSet(@NotNull ProjectSettings projectSettings, @NotNull ArchetypeFactory< G, A, R > archetypeFactory)
Creates a new ArchetypeSet instance.
Interface for MapArchObjects.
A factory to create project-dependent objects.
Factory for creating MapControl instances.