Gridarta Editor
net.sf.gridarta.model.io.TestGameObjectParser Class Reference

A GameObjectParser for regression tests. More...

+ Inheritance diagram for net.sf.gridarta.model.io.TestGameObjectParser:
+ Collaboration diagram for net.sf.gridarta.model.io.TestGameObjectParser:

Public Member Functions

Map< String, String > getModifiedFields (@NotNull final TestGameObject gameObject)
 
 TestGameObjectParser (@NotNull final GameObjectFactory< TestGameObject, TestMapArchObject, TestArchetype > gameObjectFactory, @NotNull final ArchetypeSet< TestGameObject, TestMapArchObject, TestArchetype > archetypeSet)
 Create a new instance. More...
 
- Public Member Functions inherited from net.sf.gridarta.model.io.AbstractGameObjectParser< TestGameObject, TestMapArchObject, TestArchetype >
void addModifiedFields ( @NotNull final G gameObject, @NotNull final Map< String, String > fields)
 
void collectTempList ( @NotNull final List< G > objects)
 
load ( @NotNull final BufferedReader reader, @Nullable final Collection< G > objects) throws IOException
 
load ( @NotNull final BufferedReader reader, @NotNull final String firstLine, @Nullable final Collection< G > objects) throws IOException
 
void save ( @NotNull final Appendable appendable, @NotNull final G gameObject) throws IOException
 

Additional Inherited Members

- Protected Member Functions inherited from net.sf.gridarta.model.io.AbstractGameObjectParser< TestGameObject, TestMapArchObject, TestArchetype >
 AbstractGameObjectParser ( @NotNull final GameObjectFactory< G, A, R > gameObjectFactory, @NotNull final ArchetypeSet< G, A, R > archetypeSet)
 Create a new instance. More...
 
boolean parseLine ( @NotNull final String line, @NotNull final G gameObject)
 Parse one line. More...
 

Detailed Description

A GameObjectParser for regression tests.

Author
Andreas Kirschbaum

Definition at line 35 of file TestGameObjectParser.java.

Constructor & Destructor Documentation

◆ TestGameObjectParser()

net.sf.gridarta.model.io.TestGameObjectParser.TestGameObjectParser ( @NotNull final GameObjectFactory< TestGameObject, TestMapArchObject, TestArchetype gameObjectFactory,
@NotNull final ArchetypeSet< TestGameObject, TestMapArchObject, TestArchetype archetypeSet 
)

Create a new instance.

Parameters
gameObjectFactorythe game object factory for creating new game object instances
archetypeSetthe archetype set for looking up archetypes

Definition at line 43 of file TestGameObjectParser.java.

Member Function Documentation

◆ getModifiedFields()

Map<String, String> net.sf.gridarta.model.io.TestGameObjectParser.getModifiedFields ( @NotNull final TestGameObject  gameObject)

The documentation for this class was generated from the following file: