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 Link icon

    • DeckInfo Link icon

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

    • isLimitReached Link icon

      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 Link icon

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