Class RuleSet.PositionList

  • Enclosing class:
    RuleSet

    public static class RuleSet.PositionList
    extends Object
    Represents the restrictions on the positions from which game pieces can be picked
    • Method Detail

      • toSrc

        public String toSrc()
      • allowsPicking

        public boolean allowsPicking​(int pos,
                                     HashMap<String,​BitSet> eligibleForEachOrder)
        Does this position list presently allow picking a piece from the specified position?
        Parameters:
        eligibleForEachOrder - What positions are now "in front" of each order