20 package net.sf.gridarta.model.io;
22 import java.util.LinkedHashMap;
29 import org.jetbrains.annotations.NotNull;
44 super(gameObjectFactory, archetypeSet);
50 final Map<String, String> fields =
new LinkedHashMap<>();
void addModifiedFields( @NotNull final G gameObject, @NotNull final Map< String, String > fields)
A MapArchObject implementation for testing purposes.
final ArchetypeSet< G, A, R > archetypeSet
The ArchetypeSet for looking up archetypes.
Base package of all Gridarta classes.
Abstract factory for creating GameObject instances.
GameObjects are the objects based on Archetypes found on maps.
TestGameObjectParser(@NotNull final GameObjectFactory< TestGameObject, TestMapArchObject, TestArchetype > gameObjectFactory, @NotNull final ArchetypeSet< TestGameObject, TestMapArchObject, TestArchetype > archetypeSet)
Create a new instance.
An Archetype implementation for testing purposes.
A GameObject implementation for testing purposes.
Interface that captures similarities between different ArchetypeSet implementations.
final GameObjectFactory< G, A, R > gameObjectFactory
The game object factory for creating new game object instances.
Abstract base class for classes implementing GameObjectParsers.
A GameObjectParser for regression tests.
Map< String, String > getModifiedFields(@NotNull final TestGameObject gameObject)