Class GlobalCommand.IndexedFastmatchDeckPolicyManager.DeckInfo

java.lang.Object
VASSAL.counters.GlobalCommand.IndexedFastmatchDeckPolicyManager.DeckInfo
Enclosing class:
GlobalCommand.IndexedFastmatchDeckPolicyManager

protected class GlobalCommand.IndexedFastmatchDeckPolicyManager.DeckInfo extends Object
Class to track the acceptance count of pieces from multiple Decks
  • Constructor Details

    • DeckInfo

      public DeckInfo(Deck deck, int useLimit)
  • Method Details

    • isLimitReached

      public boolean isLimitReached()
      Has the acceptance limit been reached for this Deck?
      Returns:
      true if no more pieces to be accepted from this Deck
    • increment

      Increment the acceptance count for this Deck
      Returns:
      The DeckInfo class for updating the Deck map