Package amadeus.cognition
Class CommandList
java.lang.Object
amadeus.cognition.Command
amadeus.cognition.CommandList
Command to display the list of available commands.
This command prints the list of commands to the console, providing usage examples.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Displays the list of available commands to the console.
-
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.
-