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

Inherits SandBox.BoardGames.Pawns.PawnBase.

Public Member Functions

 PawnSeega (GameEntity entity, bool playerOne)
 
override void Reset ()
 
void UpdateMoveBackAvailable ()
 
void AISetMovedThisTurn (bool moved)
 
- 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]
 
bool MovedThisTurn [get]
 
int PrevX [get, set]
 
int PrevY [get, set]
 
- 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

◆ PawnSeega()

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

Member Function Documentation

◆ Reset()

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

Reimplemented from SandBox.BoardGames.Pawns.PawnBase.

◆ UpdateMoveBackAvailable()

void SandBox.BoardGames.Pawns.PawnSeega.UpdateMoveBackAvailable ( )

◆ AISetMovedThisTurn()

void SandBox.BoardGames.Pawns.PawnSeega.AISetMovedThisTurn ( bool  moved)

Member Data Documentation

◆ X

int SandBox.BoardGames.Pawns.PawnSeega.X

◆ Y

int SandBox.BoardGames.Pawns.PawnSeega.Y

Property Documentation

◆ IsPlaced

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

◆ MovedThisTurn

bool SandBox.BoardGames.Pawns.PawnSeega.MovedThisTurn
get

◆ PrevX

int SandBox.BoardGames.Pawns.PawnSeega.PrevX
getset

◆ PrevY

int SandBox.BoardGames.Pawns.PawnSeega.PrevY
getset