Package javatro.display.screens
Class PokerHandScreen
java.lang.Object
javatro.display.screens.Screen
javatro.display.screens.PokerHandScreen
-
Field Summary
Fields inherited from class javatro.display.screens.Screen
commandMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDisplays the main content of the screen.getHand(PokerHand.HandType handType) Gets a specific poker hand by type.voidincrementPlayed(PokerHand.HandType handType) Updates the played count for a specific hand type.Methods inherited from class javatro.display.screens.Screen
clearCommandMap, displayOptions, getCommand, getCommandMap, getOptionsSize, getOutput
-
Constructor Details
-
PokerHandScreen
- Throws:
JavatroException
-
-
Method Details
-
displayScreen
public void displayScreen()Description copied from class:ScreenDisplays 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:
displayScreenin classScreen
-
incrementPlayed
Updates the played count for a specific hand type.- Parameters:
handType- The hand type to update
-
getHand
Gets a specific poker hand by type.- Parameters:
handType- The hand type to retrieve- Returns:
- The PokerHand instance
-