프로퍼티 | 타입 | 설명 | |
---|---|---|---|
bodyColor | List |
||
indexToMove | int | ||
stakePrefab | GameObject | ||
tempPlayer | Player, |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | Vector2 |
public Vector2ToPosition ( Vector2 v, float yVal ) : Vector3 | ||
v | Vector2 | |
yVal | float | |
리턴 | Vector3 |