Uses of Class
edu.wisc.game.engine.RuleSet
-
Packages that use RuleSet Package Description edu.wisc.game.engine Top-level Game Server codeedu.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 voidPostOrder. applyPostPosToAcceptanceMap(RuleSet rules, RuleSet.Row atoms, Vector<Piece> values, BitSet[][] jAcceptanceMap)When an Order is applied not to the entire board, but only to the pieces that are acceptable based on all other criteria.static booleanBoardConditionsChecker. boardIsAcceptable(Board board, RuleSet rules, boolean testing)static booleanBoardConditionsChecker. positionIsAllowed(int pos, RuleSet rules, boolean testing)This is to make board generation more efficient in the presence of a position-only rule.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)
-