Skip to main content

ToolManager

ToolManager

Overview needed


Constructor

public ToolManager

new ToolManager(defaultTool, tools)

*Description needed*

Parameters

  •  defaultTool: DefaultToolDescription needed

  •  tools: Tool[]Description needed


Properties

No publicly accessible properties on ToolManager

private defaultTool: DefaultTool

Description needed

private tools: Tool[]

Description needed

private currentTool: Tool

Description needed


Methods

public reset

reset(info) => void

Description needed

Parameters

public onEvent

onEvent(event, info) => false | true

Description needed

Parameters

Returns

  •   false | trueDescription needed

public hasTool

hasTool(tool) => false | true

Description needed

Parameters

  •  tool: ToolDescription needed

Returns

  •   false | trueDescription needed

public getCurrentTool

getCurrentTool() => DefaultTool | Tool

Description needed

Returns


Static Methods

No static methods for ToolManager