Uses of Class
edu.wisc.game.util.RandomRG
Package | Description |
---|---|
edu.wisc.game.sql |
Persistent data structures
|
-
Uses of RandomRG in edu.wisc.game.sql
Fields in edu.wisc.game.sql declared as RandomRG Modifier and Type Field Description static RandomRG
Episode. random
Methods in edu.wisc.game.sql with parameters of type RandomRG Modifier and Type Method Description static RandomGameGenerator
RandomGameGenerator. buildFromArgv(RandomRG _random, File f, ParseConfig ht, String[] argv, int ja)
Builds a RandomGameGenerator from command-line argumentsstatic 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 RandomRG Constructor Description Board(RandomRG random, int randomCnt)
The 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