Class CategoryPlayers


  • public class CategoryPlayers
    extends Object
    Contains the rules for how many players can participate in the category.

    This class is immutable and thread-safe.
    • Method Detail

      • isExact

        public boolean isExact()
        If true, there must be exactly getPlayers() players. If false, there can be up to getPlayers() players.
        Returns:
        true if there must be an exact amount of runners, false otherwise
      • getPlayers

        public int getPlayers()
        Gets the number of allowed players.
        Returns:
        player count