net.sf.gridarta.model.resource
public class TestFilesResourcesReader extends AbstractFilesResourcesReader<TestGameObject,TestMapArchObject,TestArchetype>
AbstractFilesResourcesReader
for regression tests.Constructor and Description |
---|
TestFilesResourcesReader(File archDirectory,
ArchetypeSet<TestGameObject,TestMapArchObject,TestArchetype> archetypeSet,
AbstractArchetypeParser<TestGameObject,TestMapArchObject,TestArchetype,?> archetypeParser,
ArchFaceProvider archFaceProvider,
File collectedDirectory,
String imageSet,
AnimationObjects animationObjects,
FaceObjects faceObjects)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isValidEntry(int folderLevel,
String name)
Returns whether a file name should be processed.
|
read
addPNGFace, loadAnimationsFromCollect, loadAnimTree
public TestFilesResourcesReader(@NotNull File archDirectory, @NotNull ArchetypeSet<TestGameObject,TestMapArchObject,TestArchetype> archetypeSet, @NotNull AbstractArchetypeParser<TestGameObject,TestMapArchObject,TestArchetype,?> archetypeParser, @NotNull ArchFaceProvider archFaceProvider, @NotNull File collectedDirectory, @Nullable String imageSet, @NotNull AnimationObjects animationObjects, @NotNull FaceObjects faceObjects)
archDirectory
- the "arch" directory to readarchetypeSet
- the archetype set to updatearchetypeParser
- the archetype parser to usearchFaceProvider
- the arch face provider to usecollectedDirectory
- the collected directoryimageSet
- the active image set or null
animationObjects
- the animation objects instancefaceObjects
- the face objects instanceprotected boolean isValidEntry(int folderLevel, String name)
AbstractFilesResourcesReader
isValidEntry
in class AbstractFilesResourcesReader<TestGameObject,TestMapArchObject,TestArchetype>
folderLevel
- the folder levelname
- the base name of the file nameFeedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.