20 package net.sf.gridarta.model.io;
22 import java.io.BufferedReader;
23 import java.io.IOException;
24 import java.util.List;
32 import org.jetbrains.annotations.NotNull;
33 import org.jetbrains.annotations.Nullable;
48 super(archetypeBuilder, animationObjects, archetypeSet);
57 return line.startsWith(
"Object");
74 protected boolean addToPanel(
final boolean isInternPath, @NotNull
final String editorFolder, @NotNull
final TestArchetype archetype) {
Convenience class for adding messages to a ErrorView instance using a fixed category name...
An ArchetypeParser for regression tests.
TestArchetypeParser(@NotNull final TestArchetypeBuilder archetypeBuilder, @NotNull final AnimationObjects animationObjects, @NotNull final ArchetypeSet< TestGameObject, TestMapArchObject, TestArchetype > archetypeSet)
Creates an ArchetypeParser.
boolean processLine(@NotNull final BufferedReader in, @NotNull final String line, @NotNull final String line2, @NotNull final TestArchetypeBuilder archetypeBuilder, @NotNull final ErrorViewCollector errorViewCollector, @NotNull final List< TestGameObject > invObjects)
Gridarta can handle frame information of animations and allow the selection of an animation using a t...
final B archetypeBuilder
The AbstractArchetypeBuilder to use.
boolean isStartLine(@NotNull final String line)
A MapArchObject implementation for testing purposes.
Base package of all Gridarta classes.
boolean addToPanel(final boolean isInternPath, @NotNull final String editorFolder, @NotNull final TestArchetype archetype)
final AnimationObjects animationObjects
The animation objects instance.
AnimationObjects is a container for AnimationObjects.
GameObjects are the objects based on Archetypes found on maps.
void finishParseArchetypePart(@Nullable final TestArchetype firstArch, @NotNull final TestArchetype archetype, @NotNull final ErrorViewCollector errorViewCollector)
An Archetype implementation for testing purposes.
A GameObject implementation for testing purposes.
Interface that captures similarities between different ArchetypeSet implementations.
Abstract base implementation of ArchetypeParser.
void initParseArchetype()
final ArchetypeSet< G, A, R > archetypeSet
The ArchetypeSet to use.
An AbstractArchetypeBuilder for regression tests.
void finishParseArchetype(@NotNull final TestArchetype archetype)