Package | Description |
---|---|
de.smarten.tsuro.shared.gamemodel |
The GameModel package is used by every other component of our software.
|
Modifier and Type | Method and Description |
---|---|
Client |
Player.getClient() |
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.
|
Copyright © 2017 smarTen. All rights reserved.