net.sf.gridarta.gui.map.mapview
public class TestMapViewFactory extends Object implements MapViewFactory<TestGameObject,TestMapArchObject,TestArchetype>
MapViewFactory
implementation for testing purposes.Constructor and Description |
---|
TestMapViewFactory() |
Modifier and Type | Method and Description |
---|---|
MapView<TestGameObject,TestMapArchObject,TestArchetype> |
newMapView(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl,
Point viewPosition,
int viewCounter)
Creates a new map view instance for a map control.
|
public TestMapViewFactory()
@NotNull public MapView<TestGameObject,TestMapArchObject,TestArchetype> newMapView(@NotNull MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl, @Nullable Point viewPosition, int viewCounter)
newMapView
in interface MapViewFactory<TestGameObject,TestMapArchObject,TestArchetype>
mapControl
- the map controlviewPosition
- the initial view position; may be null
for defaultviewCounter
- the view counterFeedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.