Inherits SandBox.BoardGames.BoardGameBase.
|
override void | HandlePreMovementStage (float dt) |
|
override void | HandlePreMovementStageAI (Move move) |
|
override PawnBase | SelectPawn (PawnBase pawn) |
|
override void | SwitchPlayerTurn () |
|
override bool | CheckGameEnded () |
|
override void | OnAfterBoardRotated () |
|
override void | OnAfterBoardSetUp () |
|
override void | MovePawnToTileDelayed (PawnBase pawn, TileBase tile, bool instantMove, bool displayMessage, float delay) |
|
void | CheckIfPawnCaptures (PawnBaghChal pawn, bool fake=false) |
|
Protected Member Functions inherited from SandBox.BoardGames.BoardGameBase |
| BoardGameBase (MissionBoardGameLogic mission, TextObject name, PlayerTurn startingPlayer) |
|
abstract PawnBase | SelectPawn (PawnBase pawn) |
|
abstract bool | CheckGameEnded () |
|
abstract void | OnAfterBoardSetUp () |
|
virtual void | OnAfterBoardRotated () |
|
virtual void | OnBeforeEndTurn () |
|
virtual void | UpdateAllTilesPositions () |
|
virtual void | OnPawnArrivesGoalPosition (PawnBase pawn, Vec3 prevPos, Vec3 currentPos) |
|
virtual void | HandlePreMovementStage (float dt) |
|
virtual void | HandlePreMovementStageAI (Move move) |
|
virtual void | SwitchPlayerTurn () |
|
virtual void | MovePawnToTile (PawnBase pawn, TileBase tile, bool instantMove=false, bool displayMessage=true) |
|
virtual void | MovePawnToTileDelayed (PawnBase pawn, TileBase tile, bool instantMove, bool displayMessage, float delay) |
|
virtual void | OnAfterDiceRollAnimation () |
|
void | RemovePawnFromBoard (PawnBase pawn, float speed, bool instantMove=false) |
|
PawnBase | InitializeUnit (PawnBase pawnToInit) |
|
Move | HandlePlayerInput (float dt) |
|
PawnBase | GetHoveredPawnIfAny () |
|
TileBase | GetHoveredTileIfAny () |
|
void | CheckSwitchPlayerTurn () |
|
void | OnVictory (string message=StringVictoryMessage) |
|
void | OnAfterEndTurn () |
|
void | OnDefeat (string message=StringDefeatMessage) |
|
void | OnDraw (string message=StringDrawMessage) |
|
void | EndTurn () |
|
void | ClearValidMoves () |
|
void | HideAllValidTiles () |
|
void | ShowAllValidTiles () |
|
void | OnAIWantsForfeit () |
|
◆ BoardGameBaghChal()
◆ InitializeUnits()
override void SandBox.BoardGames.BoardGameBaghChal.InitializeUnits |
( |
| ) |
|
|
virtual |
◆ InitializeTiles()
override void SandBox.BoardGames.BoardGameBaghChal.InitializeTiles |
( |
| ) |
|
|
virtual |
◆ InitializeSound()
override void SandBox.BoardGames.BoardGameBaghChal.InitializeSound |
( |
| ) |
|
|
virtual |
◆ Reset()
override void SandBox.BoardGames.BoardGameBaghChal.Reset |
( |
| ) |
|
|
virtual |
◆ CalculateAllValidMoves()
override List< List< Move > > SandBox.BoardGames.BoardGameBaghChal.CalculateAllValidMoves |
( |
BoardGameSide |
side | ) |
|
|
virtual |
◆ CalculateValidMoves()
override List< Move > SandBox.BoardGames.BoardGameBaghChal.CalculateValidMoves |
( |
PawnBase |
pawn | ) |
|
|
virtual |
◆ SetPawnCaptured()
override void SandBox.BoardGames.BoardGameBaghChal.SetPawnCaptured |
( |
PawnBase |
pawn, |
|
|
bool |
fake = false |
|
) |
| |
|
virtual |
◆ HandlePreMovementStage()
override void SandBox.BoardGames.BoardGameBaghChal.HandlePreMovementStage |
( |
float |
dt | ) |
|
|
protectedvirtual |
◆ HandlePreMovementStageAI()
override void SandBox.BoardGames.BoardGameBaghChal.HandlePreMovementStageAI |
( |
Move |
move | ) |
|
|
protectedvirtual |
◆ SelectPawn()
override PawnBase SandBox.BoardGames.BoardGameBaghChal.SelectPawn |
( |
PawnBase |
pawn | ) |
|
|
protectedvirtual |
◆ SwitchPlayerTurn()
override void SandBox.BoardGames.BoardGameBaghChal.SwitchPlayerTurn |
( |
| ) |
|
|
protectedvirtual |
◆ CheckGameEnded()
override bool SandBox.BoardGames.BoardGameBaghChal.CheckGameEnded |
( |
| ) |
|
|
protectedvirtual |
◆ OnAfterBoardRotated()
override void SandBox.BoardGames.BoardGameBaghChal.OnAfterBoardRotated |
( |
| ) |
|
|
protectedvirtual |
◆ OnAfterBoardSetUp()
override void SandBox.BoardGames.BoardGameBaghChal.OnAfterBoardSetUp |
( |
| ) |
|
|
protectedvirtual |
◆ MovePawnToTileDelayed()
override void SandBox.BoardGames.BoardGameBaghChal.MovePawnToTileDelayed |
( |
PawnBase |
pawn, |
|
|
TileBase |
tile, |
|
|
bool |
instantMove, |
|
|
bool |
displayMessage, |
|
|
float |
delay |
|
) |
| |
|
protectedvirtual |
◆ AIMakeMove()
void SandBox.BoardGames.BoardGameBaghChal.AIMakeMove |
( |
Move |
move | ) |
|
◆ TakeBoardSnapshot()
◆ UndoMove()
void SandBox.BoardGames.BoardGameBaghChal.UndoMove |
( |
ref BoardInformation |
board | ) |
|
◆ GetANonePlacedGoat()
PawnBaghChal SandBox.BoardGames.BoardGameBaghChal.GetANonePlacedGoat |
( |
| ) |
|
◆ CheckIfPawnCaptures()
void SandBox.BoardGames.BoardGameBaghChal.CheckIfPawnCaptures |
( |
PawnBaghChal |
pawn, |
|
|
bool |
fake = false |
|
) |
| |
|
protected |
◆ UnitCountTiger
const int SandBox.BoardGames.BoardGameBaghChal.UnitCountTiger = 4 |
|
static |
◆ UnitCountGoat
const int SandBox.BoardGames.BoardGameBaghChal.UnitCountGoat = 20 |
|
static |
◆ BoardWidth
readonly int SandBox.BoardGames.BoardGameBaghChal.BoardWidth = 5 |
|
static |
◆ BoardHeight
readonly int SandBox.BoardGames.BoardGameBaghChal.BoardHeight = 5 |
|
static |
◆ TileCount
override int SandBox.BoardGames.BoardGameBaghChal.TileCount |
|
get |
◆ RotateBoard
override bool SandBox.BoardGames.BoardGameBaghChal.RotateBoard |
|
getprotected |
◆ PreMovementStagePresent
override bool SandBox.BoardGames.BoardGameBaghChal.PreMovementStagePresent |
|
getprotected |
◆ DiceRollRequired
override bool SandBox.BoardGames.BoardGameBaghChal.DiceRollRequired |
|
getprotected |