Class PokerHandScreen

java.lang.Object
javatro.display.screens.Screen
javatro.display.screens.PokerHandScreen

public class PokerHandScreen extends Screen
  • Constructor Details

  • Method Details

    • displayScreen

      public void displayScreen()
      Description copied from class: Screen
      Displays the main content of the screen.

      Must be implemented by concrete subclasses to define:

      • Screen-specific header/content
      • Any additional visual elements
      • Dynamic content updates
      Specified by:
      displayScreen in class Screen
    • incrementPlayed

      public void incrementPlayed(PokerHand.HandType handType)
      Updates the played count for a specific hand type.
      Parameters:
      handType - The hand type to update
    • getHand

      public PokerHand getHand(PokerHand.HandType handType)
      Gets a specific poker hand by type.
      Parameters:
      handType - The hand type to retrieve
      Returns:
      The PokerHand instance