Class EditorTool

java.lang.Object
group24.escaperoom.ui.editorTools.EditorTool
Direct Known Subclasses:
Brush, DeletionTool, EyeDropTool, FillTool, MoveTool, PanTool, PropertyTool, RotationTool, SelectionTool

public abstract class EditorTool extends Object
  • Constructor Details

  • Method Details

    • select

      public abstract void select()
      Called when this tool is selected
    • getType

      public abstract ToolManager.ToolType getType()
      Returns:
      the ToolManager.ToolType
    • cancel

      public abstract void cancel()
      Called when the user presses Escape while this is the active tool
    • getName

      public abstract String getName()
    • getButtonStyle

      public String getButtonStyle()
    • getEditor

      public LevelEditorScreen getEditor()