public class CollectedResourcesReader extends AbstractCollectedResourcesReader<GameObject,MapArchObject,Archetype>
Constructor and Description |
---|
CollectedResourcesReader(@NotNull java.io.File configurationDirectory,
@NotNull java.io.File collectedDirectory,
@NotNull ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet,
@NotNull AbstractArchetypeParser<GameObject,MapArchObject,Archetype,?> archetypeParser,
@NotNull FaceObjects faceObjects,
@NotNull AnimationObjects animationObjects,
@NotNull SmoothFaces smoothFaces)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
@NotNull FaceProvider |
read(@NotNull ErrorView errorView,
@NotNull java.util.List<GameObject> invObjects)
Reads the resources.
|
loadAnimations, loadArchetypes, loadFacesCollection
addPNGFace, loadAnimationsFromCollect, loadAnimTree
public CollectedResourcesReader(@NotNull @NotNull java.io.File configurationDirectory, @NotNull @NotNull java.io.File collectedDirectory, @NotNull @NotNull ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet, @NotNull @NotNull AbstractArchetypeParser<GameObject,MapArchObject,Archetype,?> archetypeParser, @NotNull @NotNull FaceObjects faceObjects, @NotNull @NotNull AnimationObjects animationObjects, @NotNull @NotNull SmoothFaces smoothFaces)
configurationDirectory
- the configuration directory to read fromcollectedDirectory
- the collected directoryarchetypeSet
- the archetype set to updatearchetypeParser
- the archetype parser to usefaceObjects
- the face objects instanceanimationObjects
- the animation objects instancesmoothFaces
- the smooth faces to update@NotNull public @NotNull FaceProvider read(@NotNull @NotNull ErrorView errorView, @NotNull @NotNull java.util.List<GameObject> invObjects)
AbstractResourcesReader
read
in class AbstractResourcesReader<GameObject>
errorView
- the error view for reporting problemsinvObjects
- all read archetypes are added to this list