Package javatro.manager.options
Class AcceptBlindOption
java.lang.Object
javatro.manager.options.AcceptBlindOption
- All Implemented Interfaces:
Option
Represents an option to accept the current blind in the game. This class implements the
Option interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the action associated with accepting the blind.Returns the description of this option.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
-
AcceptBlindOption
public AcceptBlindOption()
-
-
Method Details
-
getDescription
Returns the description of this option.- Specified by:
getDescriptionin interfaceOption- Returns:
- A string representing the description of the option.
-
execute
Executes the action associated with accepting the blind. Currently, this method does not perform any operations.- Specified by:
executein interfaceOption- Throws:
JavatroException- if an error occurs during execution.
-