Package edu.wisc.game.sql
Class RandomImageGameGenerator
java.lang.Object
edu.wisc.game.sql.GameGenerator
edu.wisc.game.sql.RandomImageGameGenerator
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
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wisc.game.sql.GameGenerator
GameGenerator.Features
-
Constructor Summary
ConstructorsConstructorDescriptionRandomImageGameGenerator
(RandomRG _random, File ruleSetFile, int[] _nPiecesRange, ImageObject.Generator _imageGenerator) -
Method Summary
Methods inherited from class edu.wisc.game.sql.GameGenerator
advance, getAllFeatures, 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
-