net.sf.gridarta.gui.map.test
public class TestMapControlCreatorUtils extends Object
MapControl
instances for regression tests.Modifier | Constructor and Description |
---|---|
private |
TestMapControlCreatorUtils()
Private constructor to prevent instantiation.
|
Modifier and Type | Method and Description |
---|---|
static CopyBuffer<TestGameObject,TestMapArchObject,TestArchetype> |
newCopyBuffer(TestMapControlCreator mapControlCreator)
Returns a new
CopyBuffer instance. |
static MapImageCache<TestGameObject,TestMapArchObject,TestArchetype> |
newMapImageCache(TestMapControlCreator mapControlCreator)
Creates a new
MapImageCache instance. |
static MapView<TestGameObject,TestMapArchObject,TestArchetype> |
newMapView(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl)
Creates a new
MapView instance. |
static MapViewsManager<TestGameObject,TestMapArchObject,TestArchetype> |
newMapViewsManager(TestMapControlCreator mapControlCreator)
Creates a new
MapViewsManager instance. |
private TestMapControlCreatorUtils()
@NotNull public static MapView<TestGameObject,TestMapArchObject,TestArchetype> newMapView(@NotNull MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl)
MapView
instance.mapControl
- the associated map control@NotNull public static CopyBuffer<TestGameObject,TestMapArchObject,TestArchetype> newCopyBuffer(@NotNull TestMapControlCreator mapControlCreator)
CopyBuffer
instance.mapControlCreator
- the map control creator@NotNull public static MapViewsManager<TestGameObject,TestMapArchObject,TestArchetype> newMapViewsManager(@NotNull TestMapControlCreator mapControlCreator)
MapViewsManager
instance.mapControlCreator
- the map control creator@NotNull public static MapImageCache<TestGameObject,TestMapArchObject,TestArchetype> newMapImageCache(@NotNull TestMapControlCreator mapControlCreator)
MapImageCache
instance.mapControlCreator
- the map control creatorFeedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.