Inherits SandBox.BoardGames.Pawns.PawnBase.
|
| PawnPuluc (GameEntity entity, bool playerOne) |
|
override void | Reset () |
|
override void | AddGoalPosition (Vec3 goal) |
|
override void | MovePawnToGoalPositions (bool instantMove, float speed, bool dragged=false) |
|
override void | SetPawnAtPosition (Vec3 position) |
|
override void | EnableCollisionBody () |
|
override void | DisableCollisionBody () |
|
void | MovePawnBackToSpawn (bool instantMove, float speed, bool fake=false) |
|
Public Member Functions inherited from SandBox.BoardGames.Pawns.PawnBase |
virtual void | Reset () |
|
virtual void | AddGoalPosition (Vec3 goal) |
|
virtual void | SetPawnAtPosition (Vec3 position) |
|
virtual void | MovePawnToGoalPositions (bool instantMove, float speed, bool dragged=false) |
|
virtual void | EnableCollisionBody () |
|
virtual void | DisableCollisionBody () |
|
void | Tick (float dt) |
|
void | MovePawnToGoalPositionsDelayed (bool instantMove, float speed, bool dragged, float delay) |
|
void | SetPlayerOne (bool playerOne) |
|
void | ClearGoalPositions () |
|
void | UpdatePawnPosition () |
|
void | PlayPawnSelectSound () |
|
◆ MovementState
Enumerator |
---|
MovingForward | |
MovingBackward | |
ChangingDirection | |
◆ PawnPuluc()
SandBox.BoardGames.Pawns.PawnPuluc.PawnPuluc |
( |
GameEntity |
entity, |
|
|
bool |
playerOne |
|
) |
| |
◆ Reset()
override void SandBox.BoardGames.Pawns.PawnPuluc.Reset |
( |
| ) |
|
|
virtual |
◆ AddGoalPosition()
override void SandBox.BoardGames.Pawns.PawnPuluc.AddGoalPosition |
( |
Vec3 |
goal | ) |
|
|
virtual |
◆ MovePawnToGoalPositions()
override void SandBox.BoardGames.Pawns.PawnPuluc.MovePawnToGoalPositions |
( |
bool |
instantMove, |
|
|
float |
speed, |
|
|
bool |
dragged = false |
|
) |
| |
|
virtual |
◆ SetPawnAtPosition()
override void SandBox.BoardGames.Pawns.PawnPuluc.SetPawnAtPosition |
( |
Vec3 |
position | ) |
|
|
virtual |
◆ EnableCollisionBody()
override void SandBox.BoardGames.Pawns.PawnPuluc.EnableCollisionBody |
( |
| ) |
|
|
virtual |
◆ DisableCollisionBody()
override void SandBox.BoardGames.Pawns.PawnPuluc.DisableCollisionBody |
( |
| ) |
|
|
virtual |
◆ MovePawnBackToSpawn()
void SandBox.BoardGames.Pawns.PawnPuluc.MovePawnBackToSpawn |
( |
bool |
instantMove, |
|
|
float |
speed, |
|
|
bool |
fake = false |
|
) |
| |
◆ State
◆ CapturedBy
PawnPuluc SandBox.BoardGames.Pawns.PawnPuluc.CapturedBy |
◆ SpawnPos
Vec3 SandBox.BoardGames.Pawns.PawnPuluc.SpawnPos |
◆ IsInSpawn
bool SandBox.BoardGames.Pawns.PawnPuluc.IsInSpawn = true |
◆ IsTopPawn
bool SandBox.BoardGames.Pawns.PawnPuluc.IsTopPawn = true |
◆ Height
float SandBox.BoardGames.Pawns.PawnPuluc.Height |
|
get |
◆ PosBeforeMoving
override Vec3 SandBox.BoardGames.Pawns.PawnPuluc.PosBeforeMoving |
|
get |
◆ IsPlaced
override bool SandBox.BoardGames.Pawns.PawnPuluc.IsPlaced |
|
get |
int SandBox.BoardGames.Pawns.PawnPuluc.X |
|
getset |
◆ PawnsBelow
List<PawnPuluc> SandBox.BoardGames.Pawns.PawnPuluc.PawnsBelow |
|
get |
◆ InPlay
bool SandBox.BoardGames.Pawns.PawnPuluc.InPlay |
|
get |