Class PlayCardScreen


public class PlayCardScreen extends CardSelectScreen
The PlayCardScreen class represents a screen where the user selects cards to play. It extends CardSelectScreen and allows selecting up to a predefined limit of cards (default is 5).
See Also:
  • Constructor Details

    • PlayCardScreen

      public PlayCardScreen() throws JavatroException
      Constructs a PlayCardScreen and sets the selection limit. The user can select up to 5 cards to play, and the selection command is initialized.
      Throws:
      JavatroException - if an error occurs during initialization.
  • Method Details

    • displayScreen

      public void displayScreen()
      Displays the current cards in the user's holding hand for selection. This method overrides the parent class implementation to provide specific behavior for playing cards.
      Specified by:
      displayScreen in class CardSelectScreen