public interface MapViewFactory<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
MapView
instances.Modifier and Type | Method and Description |
---|---|
MapView<G,A,R> |
newMapView(MapControl<G,A,R> mapControl,
java.awt.Point viewPosition,
int viewCounter)
Creates a new map view instance for a map control.
|
@NotNull MapView<G,A,R> newMapView(@NotNull MapControl<G,A,R> mapControl, @Nullable java.awt.Point viewPosition, int viewCounter)
mapControl
- the map controlviewPosition
- the initial view position; may be null
for
defaultviewCounter
- the view counter