Inherits SandBox.BoardGames.BoardGameBase.
|
| override void | OnPawnArrivesGoalPosition (PawnBase pawn, Vec3 prevPos, Vec3 currentPos) |
| |
| override void | SwitchPlayerTurn () |
| |
| override PawnBase | SelectPawn (PawnBase pawn) |
| |
| override void | MovePawnToTileDelayed (PawnBase pawn, TileBase tile, bool instantMove, bool displayMessage, float delay) |
| |
| override void | HandlePreMovementStage (float dt) |
| |
| override void | HandlePreMovementStageAI (Move move) |
| |
| override bool | CheckGameEnded () |
| |
| override void | OnAfterBoardSetUp () |
| |
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 () |
| |
◆ BoardGameSeega()
◆ InitializeUnits()
| override void SandBox.BoardGames.BoardGameSeega.InitializeUnits |
( |
| ) |
|
|
virtual |
◆ InitializeTiles()
| override void SandBox.BoardGames.BoardGameSeega.InitializeTiles |
( |
| ) |
|
|
virtual |
◆ InitializeSound()
| override void SandBox.BoardGames.BoardGameSeega.InitializeSound |
( |
| ) |
|
|
virtual |
◆ Reset()
| override void SandBox.BoardGames.BoardGameSeega.Reset |
( |
| ) |
|
|
virtual |
◆ CalculateValidMoves()
| override List< Move > SandBox.BoardGames.BoardGameSeega.CalculateValidMoves |
( |
PawnBase |
pawn | ) |
|
|
virtual |
◆ SetPawnCaptured()
| override void SandBox.BoardGames.BoardGameSeega.SetPawnCaptured |
( |
PawnBase |
pawn, |
|
|
bool |
aiSimulation = false |
|
) |
| |
|
virtual |
◆ OnPawnArrivesGoalPosition()
| override void SandBox.BoardGames.BoardGameSeega.OnPawnArrivesGoalPosition |
( |
PawnBase |
pawn, |
|
|
Vec3 |
prevPos, |
|
|
Vec3 |
currentPos |
|
) |
| |
|
protectedvirtual |
◆ SwitchPlayerTurn()
| override void SandBox.BoardGames.BoardGameSeega.SwitchPlayerTurn |
( |
| ) |
|
|
protectedvirtual |
◆ SelectPawn()
◆ MovePawnToTileDelayed()
| override void SandBox.BoardGames.BoardGameSeega.MovePawnToTileDelayed |
( |
PawnBase |
pawn, |
|
|
TileBase |
tile, |
|
|
bool |
instantMove, |
|
|
bool |
displayMessage, |
|
|
float |
delay |
|
) |
| |
|
protectedvirtual |
◆ HandlePreMovementStage()
| override void SandBox.BoardGames.BoardGameSeega.HandlePreMovementStage |
( |
float |
dt | ) |
|
|
protectedvirtual |
◆ HandlePreMovementStageAI()
| override void SandBox.BoardGames.BoardGameSeega.HandlePreMovementStageAI |
( |
Move |
move | ) |
|
|
protectedvirtual |
◆ CheckGameEnded()
| override bool SandBox.BoardGames.BoardGameSeega.CheckGameEnded |
( |
| ) |
|
|
protectedvirtual |
◆ OnAfterBoardSetUp()
| override void SandBox.BoardGames.BoardGameSeega.OnAfterBoardSetUp |
( |
| ) |
|
|
protectedvirtual |
◆ AIMakeMove()
| void SandBox.BoardGames.BoardGameSeega.AIMakeMove |
( |
Move |
move | ) |
|
◆ GetBlockingPawns()
| Dictionary< PawnBase, int > SandBox.BoardGames.BoardGameSeega.GetBlockingPawns |
( |
bool |
playerOneBlocked | ) |
|
◆ TakeBoardSnapshot()
◆ UndoMove()
◆ GetTile()
| TileBase SandBox.BoardGames.BoardGameSeega.GetTile |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
◆ BoardWidth
| readonly int SandBox.BoardGames.BoardGameSeega.BoardWidth = 5 |
|
static |
◆ BoardHeight
| readonly int SandBox.BoardGames.BoardGameSeega.BoardHeight = 5 |
|
static |
◆ TileCount
| override int SandBox.BoardGames.BoardGameSeega.TileCount |
|
get |
◆ UnitsToPlacePerTurnInPreMovementStage
| override int SandBox.BoardGames.BoardGameSeega.UnitsToPlacePerTurnInPreMovementStage |
|
getprotected |
◆ RotateBoard
| override bool SandBox.BoardGames.BoardGameSeega.RotateBoard |
|
getprotected |
◆ PreMovementStagePresent
| override bool SandBox.BoardGames.BoardGameSeega.PreMovementStagePresent |
|
getprotected |
◆ DiceRollRequired
| override bool SandBox.BoardGames.BoardGameSeega.DiceRollRequired |
|
getprotected |