addCommandSet method

void addCommandSet(
  1. CommandSet commandSet
)

Adds all of the commands and events from specified CommandSet command set into this one.

  • commandSet the CommandSet to add.

Implementation

/// - [commandSet] the CommandSet to add.

void addCommandSet(CommandSet commandSet) {
  addCommands(commandSet.getCommands());
  addEvents(commandSet.getEvents());
}