 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.gui.map.renderer;
28 import org.junit.Assert;
29 import org.junit.Test;
48 gameObject.setAttributeString(
"<key>",
"<value>&<value>");
50 final String tooltip = toolTipAppender.
finish();
51 Assert.assertEquals(
"<html><b>arch</b><br><key> <value>&<value>", tooltip);
An Archetype implementation for testing purposes.
Abstract factory for creating GameObject instances.
Base package of all Gridarta classes.
A GameObject implementation for testing purposes.
Helper class for regression tests to create MapModel instances.
GameObjects are the objects based on Archetypes found on maps.
R newArchetype(@NotNull String archetypeName)
Creates a new Archetype instance.
GameObjectFactory< TestGameObject, TestMapArchObject, TestArchetype > getGameObjectFactory()
Returns the GameObjectFactory instance.
G createGameObject(@NotNull R archetype)
Creates a new GameObject from an Archetype.
Reading and writing of maps, handling of paths.
A MapArchObject implementation for testing purposes.
Interface for classes that read or write GameObject instances.
GameObjectParser< TestGameObject, TestMapArchObject, TestArchetype > newGameObjectParser()
Creates a new GameObjectParser instance.