Метод | Описание | |
---|---|---|
CanDouble ( ) : bool |
Tries to deduce if the player on turn can double.
|
|
CenterCube ( ) : void | ||
ChangeTurn ( ) : void |
Flips the current player on roll and sets the roller also as the player on turn, resets the dice.
|
|
Clone ( ) : |
||
Deserialize ( string s ) : |
||
Double ( ) : void | ||
Equals ( |
Compares this to another game state and determines if they are the same.
|
|
GameState ( GameType game_type ) : System | ||
GetName ( int player ) : string | ||
Reject ( ) : void | ||
Resign ( ResignValue resign_value ) : void | ||
Score ( int player ) : int |
|
|
Serialize ( |
||
SetCube ( int value, int owner ) : void | ||
SetDice ( int first_die, int second_die ) : void | ||
SetDoubleOffer ( ) : void | ||
SetName ( int player, string name ) : void | ||
SetResignOffer ( ResignValue value ) : void | ||
SetScore ( int player0, int player1 ) : void | ||
Take ( ) : void | ||
ToString ( ) : string | ||
Unroll ( ) : void |
Reset the dice to tray.
|
public static Deserialize ( string s ) : |
||
s | string | |
Результат |
public GameState ( GameType game_type ) : System | ||
game_type | GameType | |
Результат | System |
public Resign ( ResignValue resign_value ) : void | ||
resign_value | ResignValue | |
Результат | void |
public Score ( int player ) : int | ||
player | int | The player who's current match score is returned. |
Результат | int |
public static Serialize ( |
||
gs | ||
Результат | string |
public SetCube ( int value, int owner ) : void | ||
value | int | |
owner | int | |
Результат | void |
public SetDice ( int first_die, int second_die ) : void | ||
first_die | int | |
second_die | int | |
Результат | void |
public SetName ( int player, string name ) : void | ||
player | int | |
name | string | |
Результат | void |
public SetResignOffer ( ResignValue value ) : void | ||
value | ResignValue | |
Результат | void |
public SetScore ( int player0, int player1 ) : void | ||
player0 | int | |
player1 | int | |
Результат | void |