M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
SandBox.BoardGames.Pawns.PawnBaghChal Class Reference

Inherits SandBox.BoardGames.Pawns.PawnBase.

Public Member Functions

 PawnBaghChal (GameEntity entity, bool playerOne, bool isTiger)
 
override void Reset ()
 
- 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 ()
 

Public Attributes

int X
 
int Y
 
int PrevX
 
int PrevY
 
- Public Attributes inherited from SandBox.BoardGames.Pawns.PawnBase
Action< PawnBase, Vec3, Vec3OnArrivedIntermediateGoalPosition
 
Action< PawnBase, Vec3, Vec3OnArrivedFinalGoalPosition
 

Properties

override bool IsPlaced [get]
 
MatrixFrame InitialFrame [get]
 
bool IsTiger [get]
 
bool IsGoat [get]
 
- Properties inherited from SandBox.BoardGames.Pawns.PawnBase
static int PawnMoveSoundCodeID [get, set]
 
static int PawnSelectSoundCodeID [get, set]
 
static int PawnTapSoundCodeID [get, set]
 
static int PawnRemoveSoundCodeID [get, set]
 
abstract bool IsPlaced [get]
 
virtual Vec3 PosBeforeMoving [get, protected set]
 
GameEntity Entity [get]
 
List< Vec3GoalPositions [get]
 
Vec3 CurrentPos [get]
 
bool Captured [get, set]
 
bool MovingToDifferentTile [get, set]
 
bool Moving [get]
 
bool PlayerOne [get]
 
bool HasAnyGoalPosition [get]
 

Additional Inherited Members

- Protected Member Functions inherited from SandBox.BoardGames.Pawns.PawnBase
 PawnBase (GameEntity entity, bool playerOne)
 
- Protected Attributes inherited from SandBox.BoardGames.Pawns.PawnBase
Vec3 PosBeforeMovingBase
 

Constructor & Destructor Documentation

◆ PawnBaghChal()

SandBox.BoardGames.Pawns.PawnBaghChal.PawnBaghChal ( GameEntity  entity,
bool  playerOne,
bool  isTiger 
)

Member Function Documentation

◆ Reset()

override void SandBox.BoardGames.Pawns.PawnBaghChal.Reset ( )
virtual

Reimplemented from SandBox.BoardGames.Pawns.PawnBase.

Member Data Documentation

◆ X

int SandBox.BoardGames.Pawns.PawnBaghChal.X

◆ Y

int SandBox.BoardGames.Pawns.PawnBaghChal.Y

◆ PrevX

int SandBox.BoardGames.Pawns.PawnBaghChal.PrevX

◆ PrevY

int SandBox.BoardGames.Pawns.PawnBaghChal.PrevY

Property Documentation

◆ IsPlaced

override bool SandBox.BoardGames.Pawns.PawnBaghChal.IsPlaced
get

◆ InitialFrame

MatrixFrame SandBox.BoardGames.Pawns.PawnBaghChal.InitialFrame
get

◆ IsTiger

bool SandBox.BoardGames.Pawns.PawnBaghChal.IsTiger
get

◆ IsGoat

bool SandBox.BoardGames.Pawns.PawnBaghChal.IsGoat
get