Package edu.wisc.game.sql
Class RandomImageGameGenerator
java.lang.Object
edu.wisc.game.sql.GameGenerator
edu.wisc.game.sql.RandomImageGameGenerator
public class RandomImageGameGenerator extends GameGenerator
This class generates random games (with the same rule set and
randomly created initial boards) using image-and-property based
game pieces based on the provided parameter
range specifications
-
Constructor Summary
Constructors Constructor Description RandomImageGameGenerator(RandomRG _random, File ruleSetFile, int[] _nPiecesRange, ImageObject.Generator _imageGenerator)
-
Method Summary
Methods inherited from class edu.wisc.game.sql.GameGenerator
advance, getRules, getTesting, mkGameGenerator, setConditions, setTesting
-
Constructor Details
-
RandomImageGameGenerator
public RandomImageGameGenerator(RandomRG _random, File ruleSetFile, int[] _nPiecesRange, ImageObject.Generator _imageGenerator) throws IOException, RuleParseException- Throws:
IOException
RuleParseException
-
-
Method Details
-
nextGame
Generates a game with a random initial board, in accordance with this generator's parameters- Specified by:
nextGame
in classGameGenerator
-