Package javatro.manager.options
Class HelpTipsOption
java.lang.Object
javatro.manager.options.HelpTipsOption
- All Implemented Interfaces:
Option
The HelpTipsOption class provides gameplay tips for javatro. This command is executed when the
player requests tips for improving their strategy.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the command to display gameplay tips.Returns a description of this command.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javatro.manager.options.Option
setDescription
-
Constructor Details
-
HelpTipsOption
public HelpTipsOption()
-
-
Method Details
-
getDescription
Returns a description of this command.- Specified by:
getDescriptionin interfaceOption- Returns:
- A string describing the command.
-
execute
Executes the command to display gameplay tips.- Specified by:
executein interfaceOption- Throws:
JavatroException- If an error occurs during execution.
-