Property | Type | Description |
---|
Method | Description | |
---|---|---|
CurrentRound ( ) : Entities.GameRound |
Get the current round
|
|
DetermineCommander ( ) : Entities.User |
Determine who the card commander is
|
|
Game ( ) : System |
Default Constructor
|
|
Game ( IDataReader idr ) : System |
Constructor used by the data layer
|
|
HasRequiredNumberOfPlayers ( ) : System.Boolean |
Determine if the game has required number of players
|
|
HasRounds ( ) : System.Boolean |
Determine if the game has rounds
|
|
HasWinner ( ) : System.Boolean |
Determine if the game has a winner
|
|
IsCurrentCommander ( |
Determine if user is the card commander
|
|
IsCurrentPlayer ( |
Determine if user is already a player
|
|
IsCurrentSpectator ( |
Determine if user is already a player
|
|
IsFull ( ) : System.Boolean |
Determine if the game is full
|
|
IsWaiting ( ) : System.Boolean |
Determine if the game is in waiting state
|
|
MaxSpectatorsReached ( ) : System.Boolean |
Determine if the max number of spectators has been reached
|
|
NextCommander ( Entities newCommander ) : Entities.User |
Get the next commander
|
|
NumberOfPlayersNeededToStart ( ) : |
Determine number of players still needed
|
public DetermineCommander ( ) : Entities.User | ||
return | Entities.User |
public Game ( IDataReader idr ) : System | ||
idr | IDataReader | The datareader used to build the game |
return | System |
public HasRequiredNumberOfPlayers ( ) : System.Boolean | ||
return | System.Boolean |
public IsCurrentCommander ( |
||
userId | ||
return | System.Boolean |
public IsCurrentPlayer ( |
||
userID | The userID | |
return | System.Boolean |
public IsCurrentSpectator ( |
||
userID | The userID | |
return | System.Boolean |
public MaxSpectatorsReached ( ) : System.Boolean | ||
return | System.Boolean |
public NextCommander ( Entities newCommander ) : Entities.User | ||
newCommander | Entities | The winner of the last round |
return | Entities.User |
public NumberOfPlayersNeededToStart ( ) : |
||
return |