Package javatro.manager.options
Class PokerHandOption
java.lang.Object
javatro.manager.options.PokerHandOption
- All Implemented Interfaces:
Option
Represents a menu option to view current poker hand combinations. When executed, transitions the
display to the poker hand analysis screen.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the command.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
-
PokerHandOption
public PokerHandOption()
-
-
Method Details
-
getDescription
Retrieves a description of the command. This method has a default implementation returning an empty string.- Specified by:
getDescriptionin interfaceOption- Returns:
- Constant description "View Poker Hands"
-
execute
Executes the command. Implementing classes must define specific behavior. Transitions display to the poker hand analysis interface.- Specified by:
executein interfaceOption- Throws:
JavatroException- if screen transition fails
-