Class PokerHandOption

java.lang.Object
javatro.manager.options.PokerHandOption
All Implemented Interfaces:
Option

public class PokerHandOption extends Object implements Option
Represents a menu option to view current poker hand combinations. When executed, transitions the display to the poker hand analysis screen.
  • Constructor Details

    • PokerHandOption

      public PokerHandOption()
  • Method Details

    • getDescription

      public String getDescription()
      Retrieves a description of the command. This method has a default implementation returning an empty string.
      Specified by:
      getDescription in interface Option
      Returns:
      Constant description "View Poker Hands"
    • execute

      public void execute() throws JavatroException
      Executes the command. Implementing classes must define specific behavior. Transitions display to the poker hand analysis interface.
      Specified by:
      execute in interface Option
      Throws:
      JavatroException - if screen transition fails