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 |
---|---|
Token |
Player.getToken() |
Constructor and Description |
---|
Player(Client client,
Token token)
Constructor for a Player object containing an existing client object.
|
Player(Client client,
Token token,
GameModel gameModel)
Deprecated.
Setting the GameModel is done by the GameModel itself when a player is added. Do not pass a GameModel here.
Constructor for a Player object containing an existing client object.
Binds to the token passed and adds the gameModel as an observer.
|
Player(String name,
boolean isAI,
Token token,
int clientId)
Constructor for a Player object.
|
Player(String name,
boolean isAI,
Token token,
int clientId,
GameModel gameModel)
Deprecated.
Setting the GameModel is done by the GameModel itself when a player is added. Do not pass a GameModel here.
Constructor for a Player object. Binds to the token passed and adds the gameModel as an observer.
|
Modifier and Type | Method and Description |
---|---|
static Token |
GameModelTranslator.eTokenToToken(de.upb.swt.swtpra2017.swtinterface.Token eToken)
Translates an EMF Token object into a GameModel Token object.
|
Modifier and Type | Method and Description |
---|---|
static de.upb.swt.swtpra2017.swtinterface.Token |
GameModelTranslator.tokenToEToken(Token token)
Translates a GameModel Token object into an EMF Token object.
|
Copyright © 2017 smarTen. All rights reserved.