|
Gridarta Editor
|
Abstract base class for AbstractResourcesReaders that read from collected files. More...
Inheritance diagram for net.sf.gridarta.model.resource.AbstractCollectedResourcesReader< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
Collaboration diagram for net.sf.gridarta.model.resource.AbstractCollectedResourcesReader< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:Protected Member Functions | |
| AbstractCollectedResourcesReader (@NotNull final File collectedDirectory, @Nullable final String imageSet, @NotNull final ArchetypeSet< G, A, R > archetypeSet, @NotNull final AbstractArchetypeParser< G, A, R, ?> archetypeParser, @NotNull final AnimationObjects animationObjects, @NotNull final FaceObjects faceObjects, @NotNull final String animTreeFile, @NotNull final String archetypesFile) | |
| Creates a new instance. More... | |
| void | loadAnimations (@NotNull final ErrorView errorView) |
| Loads all animations. More... | |
| void | loadArchetypes (@NotNull final ErrorView errorView, @NotNull final List< G > invObjects) |
| Loads all archetypes. More... | |
| FaceProvider | loadFacesCollection (@NotNull final ErrorView errorView) |
| Loads all faces. More... | |
Protected Member Functions inherited from net.sf.gridarta.model.resource.AbstractResourcesReader< G > | |
| AbstractResourcesReader ( @NotNull final File collectedDirectory, @Nullable final String imageSet, @NotNull final AnimationObjects animationObjects, @NotNull final FaceObjects faceObjects) | |
| Creates a new instance. More... | |
| void | addPNGFace ( @NotNull final String filename, @NotNull final String path, @NotNull final String name, @NotNull final ErrorView errorView, @NotNull final ArchFaceProvider archFaceProvider) |
| Loads a png from the file, convert it to IconImage and attach it to the face list. More... | |
| void | loadAnimationsFromCollect ( @NotNull final ErrorView errorView, @NotNull final Map< String, String > animations) |
| Loads all animations from the big collected animations file. More... | |
Private Attributes | |
| final String | animTreeFile |
| The name of the animation tree information file. More... | |
| final AbstractArchetypeParser< G, A, R, ?> | archetypeParser |
| The AbstractArchetypeParser to use. More... | |
| final ArchetypeSet< G, A, R > | archetypeSet |
| The ArchetypeSet to update. More... | |
| final String | archetypesFile |
| The name of the collected archetypes file. More... | |
| final File | collectedDirectory |
| The collected directory. More... | |
| final FaceObjects | faceObjects |
| The FaceObjects instance. More... | |
Static Private Attributes | |
| static final Category | LOG = Logger.getLogger(AbstractCollectedResourcesReader.class) |
| The logger for printing log messages. More... | |
Additional Inherited Members | |
Public Member Functions inherited from net.sf.gridarta.model.resource.AbstractResourcesReader< G > | |
| abstract FaceProvider | read ( @NotNull ErrorView errorView, @NotNull List< G > invObjects) |
| Reads the resources. More... | |
Static Protected Member Functions inherited from net.sf.gridarta.model.resource.AbstractResourcesReader< G > | |
| static Map< String, String > | loadAnimTree ( @NotNull final URL url) throws IOException |
| Loads animations from a file. More... | |
Abstract base class for AbstractResourcesReaders that read from collected files.
Definition at line 54 of file AbstractCollectedResourcesReader.java.
|
protected |
Creates a new instance.
| collectedDirectory | the collected directory |
| imageSet | the active image set or null |
| archetypeSet | the archetype set to update |
| archetypeParser | the archetype parser to use |
| animationObjects | the animation objects instance |
| faceObjects | the face objects instance |
| animTreeFile | the name of the animation tree information file |
| archetypesFile | the name of the collected archetypes file |
Definition at line 108 of file AbstractCollectedResourcesReader.java.
|
protected |
Loads all animations.
| errorView | the error view for reporting problems |
Definition at line 122 of file AbstractCollectedResourcesReader.java.
Referenced by net.sf.gridarta.var.atrinik.resource.CollectedResourcesReader.read(), net.sf.gridarta.var.daimonin.resource.CollectedResourcesReader.read(), and net.sf.gridarta.var.crossfire.resource.CollectedResourcesReader.read().
Here is the caller graph for this function:
|
protected |
Loads all archetypes.
| errorView | the error view for reporting problems |
| invObjects | all read archetypes are added to this list |
Definition at line 142 of file AbstractCollectedResourcesReader.java.
Referenced by net.sf.gridarta.var.atrinik.resource.CollectedResourcesReader.read(), net.sf.gridarta.var.daimonin.resource.CollectedResourcesReader.read(), and net.sf.gridarta.var.crossfire.resource.CollectedResourcesReader.read().
Here is the caller graph for this function:
|
protected |
Loads all faces.
| errorView | the error view for reporting problems |
Definition at line 174 of file AbstractCollectedResourcesReader.java.
Referenced by net.sf.gridarta.var.atrinik.resource.CollectedResourcesReader.read(), net.sf.gridarta.var.daimonin.resource.CollectedResourcesReader.read(), and net.sf.gridarta.var.crossfire.resource.CollectedResourcesReader.read().
Here is the caller graph for this function:
|
private |
The name of the animation tree information file.
Definition at line 89 of file AbstractCollectedResourcesReader.java.
|
private |
The AbstractArchetypeParser to use.
Definition at line 77 of file AbstractCollectedResourcesReader.java.
Referenced by net.sf.gridarta.model.resource.AbstractCollectedResourcesReader< GameObject, MapArchObject, Archetype >.AbstractCollectedResourcesReader(), and net.sf.gridarta.var.crossfire.resource.CollectedResourcesReader.CollectedResourcesReader().
|
private |
The ArchetypeSet to update.
Definition at line 71 of file AbstractCollectedResourcesReader.java.
Referenced by net.sf.gridarta.model.resource.AbstractCollectedResourcesReader< GameObject, MapArchObject, Archetype >.AbstractCollectedResourcesReader(), and net.sf.gridarta.var.crossfire.resource.CollectedResourcesReader.CollectedResourcesReader().
|
private |
The name of the collected archetypes file.
Definition at line 95 of file AbstractCollectedResourcesReader.java.
|
private |
The collected directory.
Definition at line 65 of file AbstractCollectedResourcesReader.java.
|
private |
The FaceObjects instance.
Definition at line 83 of file AbstractCollectedResourcesReader.java.
Referenced by net.sf.gridarta.model.resource.AbstractCollectedResourcesReader< GameObject, MapArchObject, Archetype >.AbstractCollectedResourcesReader(), and net.sf.gridarta.var.crossfire.resource.CollectedResourcesReader.CollectedResourcesReader().
|
staticprivate |
The logger for printing log messages.
Definition at line 59 of file AbstractCollectedResourcesReader.java.