Constructor and Description |
---|
de.smarten.tsuro.shared.gamemodel.Game(String, int, Configuration, GameModel)
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.
|
de.smarten.tsuro.shared.gamemodel.Player(Client, Token, GameModel)
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.
|
de.smarten.tsuro.shared.gamemodel.Player(String, boolean, Token, int, GameModel)
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.
|
de.smarten.tsuro.shared.gamemodel.Token(Gate, Position, GameModel)
The GameModel will be set by the GameModel itself, please don't pass a GameModel here.
This constructor creates a token. When creating a player, the Player constructor
binds the token to the Player by calling the
setPlayer method. |
Copyright © 2017 smarTen. All rights reserved.