Package edu.wisc.game.sql
Class TrivialGameGenerator
- java.lang.Object
-
- edu.wisc.game.sql.GameGenerator
-
- edu.wisc.game.sql.TrivialGameGenerator
-
public class TrivialGameGenerator extends GameGenerator
Just keeps returning the same game every time
-
-
Constructor Summary
Constructors Constructor Description TrivialGameGenerator(Game g)
Creates a trivial generator, which keeps returning the same game
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Game
nextGame()
One more game...-
Methods inherited from class edu.wisc.game.sql.GameGenerator
advance, getRules, mkGameGenerator
-
-
-
-
Constructor Detail
-
TrivialGameGenerator
public TrivialGameGenerator(Game g)
Creates a trivial generator, which keeps returning the same game
-
-
Method Detail
-
nextGame
public Game nextGame()
One more game... always the same!- Specified by:
nextGame
in classGameGenerator
-
-