Package | Description |
---|---|
de.smarten.tsuro.shared.gamemodel |
The GameModel package is used by every other component of our software.
|
de.smarten.tsuro.shared.network |
Modifier and Type | Method and Description |
---|---|
Configuration |
Game.getConfig() |
Configuration |
IGame.getConfig() |
Constructor and Description |
---|
Game(String name,
int gameId,
Configuration configuration)
Constructor method.
|
Game(String name,
int gameId,
Configuration configuration,
GameModel gameModel)
Deprecated.
please use the constructor without passing a GameModel, since this will happen automatically by the GameModel when setting it's Game object
Constructor method. Creates a new game with the parameters passed.
|
Modifier and Type | Method and Description |
---|---|
static Configuration |
GameModelTranslator.eConfigurationToConfiguration(de.upb.swt.swtpra2017.swtinterface.Configuration eConfig)
creates a new GameModel configuration object given the data of an EMF configuration object.
|
Modifier and Type | Method and Description |
---|---|
static de.upb.swt.swtpra2017.swtinterface.Configuration |
GameModelTranslator.configurationToEConfiguration(Configuration config)
Translates a Configuration object into an EMF Configuration object.
|
Copyright © 2017 smarTen. All rights reserved.