Package edu.wisc.game.engine

## Class RuleSet.PositionList

- java.lang.Object
- - edu.wisc.game.engine.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 Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `allowsPicking​(int pos, HashMap<String,​BitSet> eligibleForEachOrder)` | Does this position list presently allow picking a piece from the specified position?
    `String` | `toSrc()` |
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### 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