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 RuleSet
AllRuleSets. obtain(String ruleSetName)
static RuleSet
AllRuleSets. read(File f)
Methods in edu.wisc.game.engine with parameters of type RuleSet Modifier and Type Method Description static void
PostOrder. 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 boolean
BoardConditionsChecker. boardIsAcceptable(Board board, RuleSet rules, boolean testing)
static boolean
BoardConditionsChecker. 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 RuleSet
Game. rules
Methods in edu.wisc.game.sql that return RuleSet Modifier and Type Method Description RuleSet
GameGenerator. getRules()
Methods in edu.wisc.game.sql with parameters of type RuleSet Modifier and Type Method Description void
GameGenerator. 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)
-