Uses of Class
edu.wisc.game.util.RandomRG
Packages that use RandomRG
-
Uses of RandomRG in edu.wisc.game.sql
Fields in edu.wisc.game.sql declared as RandomRGMethods in edu.wisc.game.sql with parameters of type RandomRGModifier and TypeMethodDescriptionstatic GameGenerator
RandomGameGenerator.buildFromArgv
(RandomRG _random, File f, ParseConfig ht, String[] argv, int ja) Builds a RandomGameGenerator from command-line arguments.static GameGenerator
GameGenerator.mkGameGenerator
(RandomRG _random, ParaSet para) Creates a GameGenerator based on a parameter set.Constructors in edu.wisc.game.sql with parameters of type RandomRGModifierConstructorDescriptionThe simple constructor, creates a random board with a given number of pieces, using the 4 legacy colors.Board
(RandomRG random, int randomCnt, int nShapes, int nColors, Piece.Shape[] allShapes, Piece.Color[] allColors) The main constructor for a random initial board in GS 2.*.Board
(RandomRG random, int randomCnt, ImageObject.Generator imageGenerator) The main constructor for a random image-and-property-based initial board in GS 3.*.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) RandomGameGenerator
(RandomRG _random, File ruleSetFile, int[] _nPiecesRange, int[] _nShapesRange, int[] _nColorsRange, Piece.Shape[] _allShapes, Piece.Color[] _allColors) RandomImageGameGenerator
(RandomRG _random, File ruleSetFile, int[] _nPiecesRange, ImageObject.Generator _imageGenerator) TrivialGameGenerator
(RandomRG _random, Game g) Creates a trivial generator, which keeps returning the same game