프로퍼티 | 타입 | 설명 |
---|
메소드 | 설명 | |
---|---|---|
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 Game ( IDataReader idr ) : System | ||
idr | IDataReader | The datareader used to build the game |
리턴 | System |
public HasRequiredNumberOfPlayers ( ) : System.Boolean | ||
리턴 | System.Boolean |
public IsCurrentCommander ( |
||
userId | ||
리턴 | System.Boolean |
public IsCurrentPlayer ( |
||
userID | The userID | |
리턴 | System.Boolean |
public IsCurrentSpectator ( |
||
userID | The userID | |
리턴 | System.Boolean |
public NextCommander ( Entities newCommander ) : Entities.User | ||
newCommander | Entities | The winner of the last round |
리턴 | Entities.User |
public NumberOfPlayersNeededToStart ( ) : |
||
리턴 |