Package amadeus.cognition
Class ByeCommand
java.lang.Object
amadeus.cognition.Command
amadeus.cognition.ByeCommand
Command to exit the Amadeus application.
This command displays a farewell message and terminates the application.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ByeCommand
public ByeCommand()
-
-
Method Details
-
execute
public void execute()Displays a farewell message and terminates the application.The farewell message is provided by the
Speech.sayGoodbye()method. -
isBye
public boolean isBye()Indicates that this command is a termination command.
-