20 package net.sf.gridarta.model.resource;
31 import org.jetbrains.annotations.NotNull;
32 import org.jetbrains.annotations.Nullable;
51 public TestFilesResourcesReader(@NotNull
final File
archDirectory, @NotNull
final ArchetypeSet<TestGameObject, TestMapArchObject, TestArchetype> archetypeSet, @NotNull
final AbstractArchetypeParser<TestGameObject, TestMapArchObject, TestArchetype, ?> archetypeParser, @NotNull
final ArchFaceProvider archFaceProvider, @NotNull
final File collectedDirectory, @Nullable
final String imageSet, @NotNull
final AnimationObjects animationObjects, @NotNull
final FaceObjects faceObjects) {
52 super(archDirectory, archetypeSet, archetypeParser, archFaceProvider, collectedDirectory, imageSet, animationObjects, faceObjects);
56 protected boolean isValidEntry(
final int folderLevel,
final String name) {
An AbstractFilesResourcesReader for regression tests.
Reading and writing of maps, handling of paths.
final AbstractArchetypeParser< G, A, R, ?> archetypeParser
The AbstractArchetypeParser to use.
Abstract base class for AbstractResourcesReaders that read from individual files. ...
Gridarta can handle frame information of animations and allow the selection of an animation using a t...
final ArchFaceProvider archFaceProvider
The ArchFaceProvider to use.
boolean isValidEntry(final int folderLevel, final String name)
A MapArchObject implementation for testing purposes.
final File archDirectory
The "arch" directory to read.
Base package of all Gridarta classes.
final AnimationObjects animationObjects
The AnimationObjects to use.
AnimationObjects is a container for AnimationObjects.
GameObjects are the objects based on Archetypes found on maps.
FaceObjects is a container for FaceObjects.
TestFilesResourcesReader(@NotNull final File archDirectory, @NotNull final ArchetypeSet< TestGameObject, TestMapArchObject, TestArchetype > archetypeSet, @NotNull final AbstractArchetypeParser< TestGameObject, TestMapArchObject, TestArchetype, ?> archetypeParser, @NotNull final ArchFaceProvider archFaceProvider, @NotNull final File collectedDirectory, @Nullable final String imageSet, @NotNull final AnimationObjects animationObjects, @NotNull final FaceObjects faceObjects)
Creates a new instance.
The face is the appearance of an object.
An Archetype implementation for testing purposes.
A GameObject implementation for testing purposes.
Interface that captures similarities between different ArchetypeSet implementations.
Implementation of FaceProvider which reads images from the arch directory.
Abstract base implementation of ArchetypeParser.
final ArchetypeSet< G, A, R > archetypeSet
The ArchetypeSet to update.