Свойство | Type | Description | |
---|---|---|---|
bodyColor | List |
||
indexToMove | int | ||
stakePrefab | GameObject | ||
tempPlayer | Player, |
Méthode | Description | |
---|---|---|
PositionToVector2 ( Vector3 pos ) : Vector2 | ||
Start ( ) : void | ||
Vector2ToPosition ( Vector2 v, float yVal ) : Vector3 | ||
findHandPosition ( int index ) : Vector3 | ||
movePlayer ( ) : void |
Helper function - Actually moves the player
|
|
myUpdate ( ) : void | ||
prepareBump ( ) : void | ||
resetStaking ( ) : void |
Méthode | Description | |
---|---|---|
bumpStake ( |
||
gameClick ( |
Calls helper function based on curent game state and turn
|
|
mineClick ( |
||
moveClick ( |
Checks if the click is valid, then calls the MovePlayer helper function
|
|
moveOpponent ( |
||
setupClick ( |
||
stakeClickMiningPhase ( |
||
stakeClickProspectingPhase ( |
public PositionToVector2 ( Vector3 pos ) : Vector2 | ||
pos | Vector3 | |
Résultat | Vector2 |
public Vector2ToPosition ( Vector2 v, float yVal ) : Vector3 | ||
v | Vector2 | |
yVal | float | |
Résultat | Vector3 |
public findHandPosition ( int index ) : Vector3 | ||
index | int | |
Résultat | Vector3 |