Package | Description |
---|---|
s3games.engine | |
s3games.gui |
Constructor and Description |
---|
Game(Config config,
GameLogger logger,
GameWindow window,
Switch gameRuns,
Robot robot)
constructs a new game, saves references to the objects passed in arguments
|
Modifier and Type | Method and Description |
---|---|
void |
GameWindow.setGame(Game g,
Switch gameRuns)
set the reference to the specified game and the game running switch,
show the game board in the window.
|
Constructor and Description |
---|
GameWindow(Switch gameSwitch)
Creates the game window and displays it
|