ESCCommandRegistry

Extends: Object

Description

A registry of ESC command objects

Property Descriptions

registry

var registry: Dictionary

The registry of registered commands

Method Descriptions

load_command

func load_command(command_name: String) -> ESCBaseCommand

Load a command by its name

Parameters

  • command_name: Name of command to load Returns The command object

get_command

func get_command(command_name: String) -> ESCBaseCommand

Retrieve a command from the command registry

Parameters

  • command_name: The name of the command Returns The command object