addCommand

open fun addCommand(command: AbstractTaterzenCommand): Boolean

Adds command to the list of commands that will be executed on right-clicking the Taterzen.

Parameters

command

command to add

open fun addCommand(command: AbstractTaterzenCommand, groupIndex: Int): Boolean

Adds command to the list of commands that will be executed on right-clicking the Taterzen.

Parameters

command

command to add

groupIndex

index of the group to add the command to