![]() |
Gridarta Editor
|
A net.sf.gridarta.model.collectable.Collectable that creates the Atrinik specific "archetypes" file. More...
Public Member Functions | |
AtrinikArchetypeSetCollectable (@NotNull final ArchetypeSet< GameObject, MapArchObject, Archetype > archetypeSet, @NotNull final GameObjectParser< GameObject, MapArchObject, Archetype > gameObjectParser) | |
Creates a new instance. More... | |
![]() | |
void | collect (@NotNull final Progress progress, @NotNull final File collectedDirectory) throws IOException |
Collects information. More... | |
Protected Member Functions | |
int | collectArchetype (@NotNull final Archetype archetype, @NotNull final Writer out) throws IOException |
![]() | |
AbstractArchetypeSetCollectable (@NotNull final ArchetypeSet< G, A, R > archetypeSet, @NotNull final String archFile) | |
Creates a new instance. More... | |
abstract int | collectArchetype (@NotNull R archetype, @NotNull Writer out) throws IOException |
Collects an Archetype: writes its definition into a writer. More... | |
Static Private Member Functions | |
static void | writeArchetype (@NotNull final Appendable appendable, @NotNull final net.sf.gridarta.model.archetype.Archetype< GameObject, MapArchObject, Archetype > archetype, final boolean isHeadPart, @NotNull final GameObjectParser< GameObject, MapArchObject, Archetype > gameObjectParser) throws IOException |
Writes an Archetype. More... | |
Private Attributes | |
final GameObjectParser< GameObject, MapArchObject, Archetype > | gameObjectParser |
The GameObjectParser for writing inventory game objects. More... | |
A net.sf.gridarta.model.collectable.Collectable that creates the Atrinik specific "archetypes" file.
Definition at line 39 of file AtrinikArchetypeSetCollectable.java.
net.sf.gridarta.var.atrinik.model.collectable.AtrinikArchetypeSetCollectable.AtrinikArchetypeSetCollectable | ( | @NotNull final ArchetypeSet< GameObject, MapArchObject, Archetype > | archetypeSet, |
@NotNull final GameObjectParser< GameObject, MapArchObject, Archetype > | gameObjectParser | ||
) |
Creates a new instance.
archetypeSet | the archetype set to collect |
gameObjectParser | the game object parser for writing inventory game objects |
Definition at line 53 of file AtrinikArchetypeSetCollectable.java.
References net.sf.gridarta.var.atrinik.IGUIConstants.ARCH_FILE, net.sf.gridarta.model.collectable.AbstractArchetypeSetCollectable< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.archetypeSet, and net.sf.gridarta.var.atrinik.model.collectable.AtrinikArchetypeSetCollectable.gameObjectParser.
|
protected |
Definition at line 59 of file AtrinikArchetypeSetCollectable.java.
References net.sf.gridarta.var.atrinik.model.collectable.AtrinikArchetypeSetCollectable.gameObjectParser, and net.sf.gridarta.var.atrinik.model.collectable.AtrinikArchetypeSetCollectable.writeArchetype().
|
staticprivate |
Writes an Archetype.
appendable | the appendable to write to |
archetype | the archetype to write |
isHeadPart | whether this part is the head part |
gameObjectParser | the game object parser for writing the inventory |
IOException | if an I/O error occurs |
Definition at line 82 of file AtrinikArchetypeSetCollectable.java.
References net.sf.gridarta.var.atrinik.model.collectable.AtrinikArchetypeSetCollectable.gameObjectParser.
Referenced by net.sf.gridarta.var.atrinik.model.collectable.AtrinikArchetypeSetCollectable.collectArchetype().
|
private |
The GameObjectParser for writing inventory game objects.
Definition at line 45 of file AtrinikArchetypeSetCollectable.java.
Referenced by net.sf.gridarta.var.atrinik.model.collectable.AtrinikArchetypeSetCollectable.AtrinikArchetypeSetCollectable(), net.sf.gridarta.var.atrinik.model.collectable.AtrinikArchetypeSetCollectable.collectArchetype(), and net.sf.gridarta.var.atrinik.model.collectable.AtrinikArchetypeSetCollectable.writeArchetype().