Class View
java.lang.Object
com.prineside.tdi2.utils.mapeditor.tools.View
- All Implemented Interfaces:
Listener<MouseClick>
,MapEditorSystem.Tool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
disabled()
Called when some other tool is being enabledvoid
enabled
(MapEditorSystem.Tool previousTool) Called when this tool is being enabledvoid
handleEvent
(MouseClick event) void
Called after being registered in the system
-
Constructor Details
-
View
public View()
-
-
Method Details
-
setup
Description copied from interface:MapEditorSystem.Tool
Called after being registered in the system- Specified by:
setup
in interfaceMapEditorSystem.Tool
-
getTooltip
- Specified by:
getTooltip
in interfaceMapEditorSystem.Tool
-
enabled
Description copied from interface:MapEditorSystem.Tool
Called when this tool is being enabled- Specified by:
enabled
in interfaceMapEditorSystem.Tool
-
disabled
public void disabled()Description copied from interface:MapEditorSystem.Tool
Called when some other tool is being enabled- Specified by:
disabled
in interfaceMapEditorSystem.Tool
-
handleEvent
- Specified by:
handleEvent
in interfaceListener<MouseClick>
-