public class DefaultGameObjectParserFactory extends java.lang.Object implements GameObjectParserFactory<GameObject,MapArchObject,Archetype>
GameObjectParserFactory
which creates Crossfire objects.Constructor and Description |
---|
DefaultGameObjectParserFactory(@NotNull GameObjectFactory<GameObject,MapArchObject,Archetype> gameObjectFactory,
@NotNull ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet,
@NotNull ArchetypeTypeSet archetypeTypeSet)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
GameObjectParser<GameObject,MapArchObject,Archetype> |
newGameObjectParser()
Creates a new
GameObjectParser instance. |
public DefaultGameObjectParserFactory(@NotNull @NotNull GameObjectFactory<GameObject,MapArchObject,Archetype> gameObjectFactory, @NotNull @NotNull ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet, @NotNull @NotNull ArchetypeTypeSet archetypeTypeSet)
gameObjectFactory
- the game object factory to usearchetypeSet
- the archetype set for looking up archetypesarchetypeTypeSet
- the archetype type set for sorting attributes on
savepublic GameObjectParser<GameObject,MapArchObject,Archetype> newGameObjectParser()
GameObjectParserFactory
GameObjectParser
instance.newGameObjectParser
in interface GameObjectParserFactory<GameObject,MapArchObject,Archetype>