Package javatro.manager.options
Class ResumeGameOption
java.lang.Object
javatro.manager.options.ResumeGameOption
- All Implemented Interfaces:
Option
The
ResumeGameOption class represents a command that allows the player to return to the
main game screen after navigating away.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the resume game command, updating the game screen to return the player to the main game interface.Provides a brief description of the 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
-
ResumeGameOption
public ResumeGameOption()
-
-
Method Details
-
getDescription
Provides a brief description of the command.- Specified by:
getDescriptionin interfaceOption- Returns:
- A string describing the command.
-
execute
Executes the resume game command, updating the game screen to return the player to the main game interface.- Specified by:
executein interfaceOption- Throws:
JavatroException- If an error occurs during execution.
-