Uses of Class
edu.wisc.game.engine.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 RuleSetAllRuleSets. obtain(String ruleSetName)static RuleSetAllRuleSets. read(File f)Methods in edu.wisc.game.engine with parameters of type RuleSet Modifier and Type Method Description static booleanBoardConditionsChecker. boardIsAcceptable(Board board, RuleSet rules, boolean testing)In the training mode, the board is acceptable if no game piece satisfies any condition (i.e.Constructors in edu.wisc.game.engine with parameters of type RuleSet Constructor Description EligibilityForOrders(RuleSet rules, BitSet onBoard)StalemateTester(RuleSet rules0) -
Uses of RuleSet in edu.wisc.game.sql
Fields in edu.wisc.game.sql declared as RuleSet Modifier and Type Field Description RuleSetGame. rulesMethods in edu.wisc.game.sql that return RuleSet Modifier and Type Method Description RuleSetGameGenerator. getRules()Methods in edu.wisc.game.sql with parameters of type RuleSet Modifier and Type Method Description voidGameGenerator. setConditions(boolean _testing, RuleSet _condRules)For the training/testing restrictions on boards, as introduced in GS 6.010.Constructors in edu.wisc.game.sql with parameters of type RuleSet Constructor Description Game(RuleSet _rules, Board _initialBoard)Game(RandomRG _random, RuleSet _rules, int _randomObjCnt, int _nShapes, int _nColors, Piece.Shape[] _allShapes, Piece.Color[] _allColors)A game with shape-and-color objects used as game piecesGame(RandomRG _random, RuleSet _rules, int _randomObjCnt, ImageObject.Generator _imageGenerator)A game with image-and-properties-based objects used as game piecesGame(RandomRG _random, RuleSet _rules, int _randomObjCnt, Piece.Shape[] _allShapes, Piece.Color[] _allColors)