public class MapUserListenerManager<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
MapMouseListener
instances.Constructor and Description |
---|
MapUserListenerManager(@NotNull ToolPalette<G,A,R> toolPalette,
@NotNull MapViewsManager<G,A,R> mapViewsManager)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addMapManager(@NotNull MapManager<G,A,R> mapManager)
Registers a
MapManager to track. |
public MapUserListenerManager(@NotNull @NotNull ToolPalette<G,A,R> toolPalette, @NotNull @NotNull MapViewsManager<G,A,R> mapViewsManager)
toolPalette
- the tool palette to attach tomapViewsManager
- the map viewspublic void addMapManager(@NotNull @NotNull MapManager<G,A,R> mapManager)
MapManager
to track.mapManager
- the map manager to track