Class ItemSelectionTool
java.lang.Object
group24.escaperoom.ui.editorTools.EditorTool
group24.escaperoom.ui.editorTools.SelectionTool
group24.escaperoom.ui.editorTools.ItemSelectionTool
-
Nested Class Summary
Nested classes/interfaces inherited from class group24.escaperoom.ui.editorTools.SelectionTool
SelectionTool.Selection -
Field Summary
Fields inherited from class group24.escaperoom.ui.editorTools.SelectionTool
selecting, selection -
Constructor Summary
ConstructorsConstructorDescriptionItemSelectionTool(com.badlogic.gdx.scenes.scene2d.Stage uiStage, LevelEditorScreen editor) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidEnd the logical selectionGet the selected objects held in this toolgetType()booleanpoll(float delta) voidvoidstartSelection(float x, float y) Methods inherited from class group24.escaperoom.ui.editorTools.SelectionTool
cancel, draw, getName, getSelectionArea, getTileDepth, position, renderPriority, selectMethods inherited from class group24.escaperoom.ui.editorTools.EditorTool
getEditor
-
Constructor Details
-
ItemSelectionTool
-
-
Method Details
-
getSelection
Get the selected objects held in this tool- Overrides:
getSelectionin classSelectionTool
-
setItems
-
startSelection
public void startSelection(float x, float y) - Overrides:
startSelectionin classSelectionTool
-
endSelection
public void endSelection()Description copied from class:SelectionToolEnd the logical selection- Overrides:
endSelectionin classSelectionTool
-
deleteSelected
public void deleteSelected() -
getButtonStyle
- Overrides:
getButtonStylein classEditorTool
-
getType
- Overrides:
getTypein classSelectionTool- Returns:
- the
ToolManager.ToolType
-
poll
public boolean poll(float delta)
-