Package javatro.manager.options
Class NextRoundOption
java.lang.Object
javatro.manager.options.NextRoundOption
- All Implemented Interfaces:
Option
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the command to move on to the next round.Retrieves a 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
-
NextRoundOption
public NextRoundOption()
-
-
Method Details
-
getDescription
Description copied from interface:OptionRetrieves a description of the command. This method has a default implementation returning an empty string.- Specified by:
getDescriptionin interfaceOption- Returns:
- A string representing the command description.
-
execute
Executes the command to move on to the next round. The command will give the player aPlanetCardor aJoker, depending on the Blind won.- Specified by:
executein interfaceOption- Throws:
JavatroException- If an error occurs during execution.
-