Class CommandList

java.lang.Object
amadeus.cognition.Command
amadeus.cognition.CommandList

public class CommandList extends Command
Command to display the list of available commands.

This command prints the list of commands to the console, providing usage examples.

  • Constructor Details

    • CommandList

      public CommandList()
  • Method Details

    • execute

      public void execute()
      Displays the list of available commands to the console.

      The commands are formatted with usage examples for better readability. The output is generated by the Speech.sayCommands() method.

      Specified by:
      execute in class Command