## Uses of Class
edu.wisc.game.engine.RuleSet

- Packages that use RuleSet
  Package | Description
  --- | ---
  edu.wisc.game.engine | Top-level Game Server code
  edu.wisc.game.sql | Persistent data structures

- - ### Uses of RuleSet in edu.wisc.game.engine

    Methods in edu.wisc.game.engine that return RuleSet
    Modifier and Type | Method | Description
    --- | --- | ---
    `static RuleSet` | AllRuleSets.`obtain​(String ruleSetName)` |
    `static RuleSet` | AllRuleSets.`read​(File f)` |

  - ### Uses of RuleSet in edu.wisc.game.sql

    Fields in edu.wisc.game.sql declared as RuleSet
    Modifier and Type | Field | Description
    --- | --- | ---
    `RuleSet` | Game.`rules` |

    Methods in edu.wisc.game.sql that return RuleSet
    Modifier and Type | Method | Description
    --- | --- | ---
    `RuleSet` | GameGenerator.`getRules()` |

    Constructors in edu.wisc.game.sql with parameters of type RuleSet
    Constructor | Description
    --- | ---
    `Game​(RuleSet _rules, int _randomObjCnt, int _nShapes, int _nColors, Piece.Shape[] _allShapes, Piece.Color[] _allColors)` | A game with shape-and-color objects used as game pieces
    `Game​(RuleSet _rules, int _randomObjCnt, Piece.Shape[] _allShapes, Piece.Color[] _allColors)` |
    `Game​(RuleSet _rules, int _randomObjCnt, String[] _allImages)` | A game with image-and-properties-based objects used as game pieces
    `Game​(RuleSet _rules, Board _initialBoard)` |