public class DefaultGameObjectParser extends AbstractGameObjectParser<GameObject,MapArchObject,Archetype>
GameObjectParser for Atrinik game object
instances.| Constructor and Description |
|---|
DefaultGameObjectParser(@NotNull GameObjectFactory<GameObject,MapArchObject,Archetype> gameObjectFactory,
@NotNull ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.util.Map<java.lang.String,java.lang.String> |
getModifiedFields(@NotNull GameObject gameObject)
Returns the modified fields of a
GameObject. |
addModifiedFields, collectTempList, load, load, savepublic DefaultGameObjectParser(@NotNull
@NotNull GameObjectFactory<GameObject,MapArchObject,Archetype> gameObjectFactory,
@NotNull
@NotNull ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet)
gameObjectFactory - the game object factory for creating new game
object instancesarchetypeSet - the archetype set for looking up archetypes@NotNull
public @NotNull java.util.Map<java.lang.String,java.lang.String> getModifiedFields(@NotNull
@NotNull GameObject gameObject)
GameObjectParserGameObject. These fields are
written into map files.gameObject - the game object