public class DaimoninArchetypeSetCollectable extends AbstractArchetypeSetCollectable<GameObject,MapArchObject,Archetype>
Collectable
that creates the
Daimonin specific "archetypes" file.Constructor and Description |
---|
DaimoninArchetypeSetCollectable(@NotNull ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected int |
collectArchetype(@NotNull Archetype archetype,
@NotNull java.io.Writer out)
Collects an
Archetype : writes its definition into a writer. |
collect
public DaimoninArchetypeSetCollectable(@NotNull @NotNull ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet)
archetypeSet
- the archetype set to collectprotected int collectArchetype(@NotNull @NotNull Archetype archetype, @NotNull @NotNull java.io.Writer out) throws java.io.IOException
AbstractArchetypeSetCollectable
Archetype
: writes its definition into a writer.collectArchetype
in class AbstractArchetypeSetCollectable<GameObject,MapArchObject,Archetype>
archetype
- the archetypeout
- the writerjava.io.IOException
- if an I/O error occurs