640 B
640 B
ESCBaseCommand
Extends: Node
Description
A base class for every ESC command. Extending classes have to override the configure and run function
Method Descriptions
configure
func configure() -> ESCCommandArgumentDescriptor
Return the descriptor of the arguments of this command
validate
func validate(arguments: Array) -> bool
Validate wether the given arguments match the command descriptor
run
func run(command_params: Array) -> int
Run the command