public class MapMouseListener<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
MouseOpListeners.| Constructor and Description |
|---|
MapMouseListener(MapRenderer renderer,
ToolPalette<G,A,R> toolPalette,
MapView<G,A,R> mapView)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeNotify()
Must be called when this object is freed.
|
public MapMouseListener(@NotNull
MapRenderer renderer,
@NotNull
ToolPalette<G,A,R> toolPalette,
@NotNull
MapView<G,A,R> mapView)
renderer - the map renderer to track for mouse actionstoolPalette - the tool palette for mapping mouse events to actionsmapView - the map view associated with the renderer