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

Inherits SandBox.BoardGames.Pawns.PawnBase.

Public Member Functions

 PawnTablut (GameEntity entity, bool playerOne)
 
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
 
- Public Attributes inherited from SandBox.BoardGames.Pawns.PawnBase
Action< PawnBase, Vec3, Vec3OnArrivedIntermediateGoalPosition
 
Action< PawnBase, Vec3, Vec3OnArrivedFinalGoalPosition
 

Properties

override bool IsPlaced [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

◆ PawnTablut()

SandBox.BoardGames.Pawns.PawnTablut.PawnTablut ( GameEntity  entity,
bool  playerOne 
)

Member Function Documentation

◆ Reset()

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

Reimplemented from SandBox.BoardGames.Pawns.PawnBase.

Member Data Documentation

◆ X

int SandBox.BoardGames.Pawns.PawnTablut.X

◆ Y

int SandBox.BoardGames.Pawns.PawnTablut.Y

Property Documentation

◆ IsPlaced

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