Class DefaultMapViewFactory<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull MapView<G,​A,​R> newMapView​(@NotNull MapControl<G,​A,​R> mapControl, int viewCounter)
      Creates a new map view instance for a map control.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultMapViewFactory

        public DefaultMapViewFactory​(@NotNull
                                     @NotNull RendererFactory<G,​A,​R> rendererFactory,
                                     int xScrollDistance,
                                     int yScrollDistance,
                                     @NotNull
                                     @NotNull PathManager pathManager)
        Creates a new instance.
        Parameters:
        rendererFactory - the renderer factory to use
        xScrollDistance - the x distance when scrolling
        yScrollDistance - the y distance when scrolling
        pathManager - the path manager for converting path names