Inherited by SandBox.BoardGames.BoardGameBaghChal, SandBox.BoardGames.BoardGameKonane, SandBox.BoardGames.BoardGameMuTorere, SandBox.BoardGames.BoardGamePuluc, SandBox.BoardGames.BoardGameSeega, and SandBox.BoardGames.BoardGameTablut.
|
| | 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 () |
| |
◆ BoardGameBase()
◆ InitializeUnits()
| abstract void SandBox.BoardGames.BoardGameBase.InitializeUnits |
( |
| ) |
|
|
pure virtual |
◆ InitializeTiles()
| abstract void SandBox.BoardGames.BoardGameBase.InitializeTiles |
( |
| ) |
|
|
pure virtual |
◆ InitializeSound()
| abstract void SandBox.BoardGames.BoardGameBase.InitializeSound |
( |
| ) |
|
|
pure virtual |
◆ CalculateValidMoves()
| abstract List< Move > SandBox.BoardGames.BoardGameBase.CalculateValidMoves |
( |
PawnBase |
pawn | ) |
|
|
pure virtual |
◆ SelectPawn()
◆ CheckGameEnded()
| abstract bool SandBox.BoardGames.BoardGameBase.CheckGameEnded |
( |
| ) |
|
|
protectedpure virtual |
◆ OnAfterBoardSetUp()
| abstract void SandBox.BoardGames.BoardGameBase.OnAfterBoardSetUp |
( |
| ) |
|
|
protectedpure virtual |
◆ OnAfterBoardRotated()
| virtual void SandBox.BoardGames.BoardGameBase.OnAfterBoardRotated |
( |
| ) |
|
|
protectedvirtual |
◆ OnBeforeEndTurn()
| virtual void SandBox.BoardGames.BoardGameBase.OnBeforeEndTurn |
( |
| ) |
|
|
protectedvirtual |
◆ RollDice()
| virtual void SandBox.BoardGames.BoardGameBase.RollDice |
( |
| ) |
|
|
virtual |
◆ UpdateAllTilesPositions()
| virtual void SandBox.BoardGames.BoardGameBase.UpdateAllTilesPositions |
( |
| ) |
|
|
protectedvirtual |
◆ InitializeDiceBoard()
| virtual void SandBox.BoardGames.BoardGameBase.InitializeDiceBoard |
( |
| ) |
|
|
virtual |
◆ Reset()
| virtual void SandBox.BoardGames.BoardGameBase.Reset |
( |
| ) |
|
|
virtual |
◆ OnPawnArrivesGoalPosition()
| virtual void SandBox.BoardGames.BoardGameBase.OnPawnArrivesGoalPosition |
( |
PawnBase |
pawn, |
|
|
Vec3 |
prevPos, |
|
|
Vec3 |
currentPos |
|
) |
| |
|
protectedvirtual |
◆ HandlePreMovementStage()
| virtual void SandBox.BoardGames.BoardGameBase.HandlePreMovementStage |
( |
float |
dt | ) |
|
|
protectedvirtual |
◆ InitializeCapturedUnitsZones()
| virtual void SandBox.BoardGames.BoardGameBase.InitializeCapturedUnitsZones |
( |
| ) |
|
|
virtual |
◆ HandlePreMovementStageAI()
| virtual void SandBox.BoardGames.BoardGameBase.HandlePreMovementStageAI |
( |
Move |
move | ) |
|
|
protectedvirtual |
◆ SetPawnCaptured()
| virtual void SandBox.BoardGames.BoardGameBase.SetPawnCaptured |
( |
PawnBase |
pawn, |
|
|
bool |
fake = false |
|
) |
| |
|
virtual |
◆ CalculateAllValidMoves()
| virtual List< List< Move > > SandBox.BoardGames.BoardGameBase.CalculateAllValidMoves |
( |
BoardGameSide |
side | ) |
|
|
virtual |
◆ SwitchPlayerTurn()
| virtual void SandBox.BoardGames.BoardGameBase.SwitchPlayerTurn |
( |
| ) |
|
|
protectedvirtual |
◆ MovePawnToTile()
| virtual void SandBox.BoardGames.BoardGameBase.MovePawnToTile |
( |
PawnBase |
pawn, |
|
|
TileBase |
tile, |
|
|
bool |
instantMove = false, |
|
|
bool |
displayMessage = true |
|
) |
| |
|
protectedvirtual |
◆ MovePawnToTileDelayed()
| virtual void SandBox.BoardGames.BoardGameBase.MovePawnToTileDelayed |
( |
PawnBase |
pawn, |
|
|
TileBase |
tile, |
|
|
bool |
instantMove, |
|
|
bool |
displayMessage, |
|
|
float |
delay |
|
) |
| |
|
protectedvirtual |
◆ OnAfterDiceRollAnimation()
| virtual void SandBox.BoardGames.BoardGameBase.OnAfterDiceRollAnimation |
( |
| ) |
|
|
protectedvirtual |
◆ SetUserRay()
| void SandBox.BoardGames.BoardGameBase.SetUserRay |
( |
Vec3 |
rayBegin, |
|
|
Vec3 |
rayEnd |
|
) |
| |
◆ SetStartingPlayer()
| void SandBox.BoardGames.BoardGameBase.SetStartingPlayer |
( |
PlayerTurn |
player | ) |
|
◆ SetGameOverInfo()
| void SandBox.BoardGames.BoardGameBase.SetGameOverInfo |
( |
GameOverEnum |
info | ) |
|
◆ HasMovesAvailable()
| bool SandBox.BoardGames.BoardGameBase.HasMovesAvailable |
( |
ref List< List< Move > > |
moves | ) |
|
◆ GetTotalMovesAvailable()
| int SandBox.BoardGames.BoardGameBase.GetTotalMovesAvailable |
( |
ref List< List< Move > > |
moves | ) |
|
◆ PlayDiceRollSound()
| void SandBox.BoardGames.BoardGameBase.PlayDiceRollSound |
( |
| ) |
|
◆ GetPlayerOneUnitsAlive()
| int SandBox.BoardGames.BoardGameBase.GetPlayerOneUnitsAlive |
( |
| ) |
|
◆ GetPlayerTwoUnitsAlive()
| int SandBox.BoardGames.BoardGameBase.GetPlayerTwoUnitsAlive |
( |
| ) |
|
◆ GetPlayerOneUnitsDead()
| int SandBox.BoardGames.BoardGameBase.GetPlayerOneUnitsDead |
( |
| ) |
|
◆ GetPlayerTwoUnitsDead()
| int SandBox.BoardGames.BoardGameBase.GetPlayerTwoUnitsDead |
( |
| ) |
|
◆ Initialize()
| void SandBox.BoardGames.BoardGameBase.Initialize |
( |
| ) |
|
◆ RemovePawnFromBoard()
| void SandBox.BoardGames.BoardGameBase.RemovePawnFromBoard |
( |
PawnBase |
pawn, |
|
|
float |
speed, |
|
|
bool |
instantMove = false |
|
) |
| |
|
protected |
◆ Tick()
| bool SandBox.BoardGames.BoardGameBase.Tick |
( |
float |
dt | ) |
|
◆ ForceDice()
| void SandBox.BoardGames.BoardGameBase.ForceDice |
( |
int |
value | ) |
|
◆ InitializeUnit()
◆ HandlePlayerInput()
| Move SandBox.BoardGames.BoardGameBase.HandlePlayerInput |
( |
float |
dt | ) |
|
|
protected |
◆ GetHoveredPawnIfAny()
| PawnBase SandBox.BoardGames.BoardGameBase.GetHoveredPawnIfAny |
( |
| ) |
|
|
protected |
◆ GetHoveredTileIfAny()
| TileBase SandBox.BoardGames.BoardGameBase.GetHoveredTileIfAny |
( |
| ) |
|
|
protected |
◆ CheckSwitchPlayerTurn()
| void SandBox.BoardGames.BoardGameBase.CheckSwitchPlayerTurn |
( |
| ) |
|
|
protected |
◆ OnVictory()
◆ OnAfterEndTurn()
| void SandBox.BoardGames.BoardGameBase.OnAfterEndTurn |
( |
| ) |
|
|
protected |
◆ OnDefeat()
◆ OnDraw()
◆ EndTurn()
| void SandBox.BoardGames.BoardGameBase.EndTurn |
( |
| ) |
|
|
protected |
◆ ClearValidMoves()
| void SandBox.BoardGames.BoardGameBase.ClearValidMoves |
( |
| ) |
|
|
protected |
◆ HideAllValidTiles()
| void SandBox.BoardGames.BoardGameBase.HideAllValidTiles |
( |
| ) |
|
|
protected |
◆ ShowAllValidTiles()
| void SandBox.BoardGames.BoardGameBase.ShowAllValidTiles |
( |
| ) |
|
|
protected |
◆ OnAIWantsForfeit()
| void SandBox.BoardGames.BoardGameBase.OnAIWantsForfeit |
( |
| ) |
|
|
protected |
◆ StringBoardGame
| const string SandBox.BoardGames.BoardGameBase.StringBoardGame = "str_boardgame" |
|
static |
◆ StringForfeitQuestion
| const string SandBox.BoardGames.BoardGameBase.StringForfeitQuestion = "str_boardgame_forfeit_question" |
|
static |
◆ StringMovePiecePlayer
| const string SandBox.BoardGames.BoardGameBase.StringMovePiecePlayer = "str_boardgame_move_piece_player" |
|
static |
◆ StringMovePieceOpponent
| const string SandBox.BoardGames.BoardGameBase.StringMovePieceOpponent = "str_boardgame_move_piece_opponent" |
|
static |
◆ StringCapturePiecePlayer
| const string SandBox.BoardGames.BoardGameBase.StringCapturePiecePlayer = "str_boardgame_capture_piece_player" |
|
static |
◆ StringCapturePieceOpponent
| const string SandBox.BoardGames.BoardGameBase.StringCapturePieceOpponent = "str_boardgame_capture_piece_opponent" |
|
static |
◆ StringVictoryMessage
| const string SandBox.BoardGames.BoardGameBase.StringVictoryMessage = "str_boardgame_victory_message" |
|
static |
◆ StringDefeatMessage
| const string SandBox.BoardGames.BoardGameBase.StringDefeatMessage = "str_boardgame_defeat_message" |
|
static |
◆ StringDrawMessage
| const string SandBox.BoardGames.BoardGameBase.StringDrawMessage = "str_boardgame_draw_message" |
|
static |
◆ StringNoAvailableMovesPlayer
| const string SandBox.BoardGames.BoardGameBase.StringNoAvailableMovesPlayer = "str_boardgame_no_available_moves_player" |
|
static |
◆ StringNoAvailableMovesOpponent
| const string SandBox.BoardGames.BoardGameBase.StringNoAvailableMovesOpponent = "str_boardgame_no_available_moves_opponent" |
|
static |
◆ StringSeegaBarrierByP1DrawMessage
| const string SandBox.BoardGames.BoardGameBase.StringSeegaBarrierByP1DrawMessage = "str_boardgame_seega_barrier_by_player_one_draw_message" |
|
static |
◆ StringSeegaBarrierByP2DrawMessage
| const string SandBox.BoardGames.BoardGameBase.StringSeegaBarrierByP2DrawMessage = "str_boardgame_seega_barrier_by_player_two_draw_message" |
|
static |
◆ StringSeegaBarrierByP1VictoryMessage
| const string SandBox.BoardGames.BoardGameBase.StringSeegaBarrierByP1VictoryMessage = "str_boardgame_seega_barrier_by_player_one_victory_message" |
|
static |
◆ StringSeegaBarrierByP2VictoryMessage
| const string SandBox.BoardGames.BoardGameBase.StringSeegaBarrierByP2VictoryMessage = "str_boardgame_seega_barrier_by_player_two_victory_message" |
|
static |
◆ StringSeegaBarrierByP1DefeatMessage
| const string SandBox.BoardGames.BoardGameBase.StringSeegaBarrierByP1DefeatMessage = "str_boardgame_seega_barrier_by_player_one_defeat_message" |
|
static |
◆ StringSeegaBarrierByP2DefeatMessage
| const string SandBox.BoardGames.BoardGameBase.StringSeegaBarrierByP2DefeatMessage = "str_boardgame_seega_barrier_by_player_two_defeat_message" |
|
static |
◆ StringRollDicePlayer
| const string SandBox.BoardGames.BoardGameBase.StringRollDicePlayer = "str_boardgame_roll_dice_player" |
|
static |
◆ StringRollDiceOpponent
| const string SandBox.BoardGames.BoardGameBase.StringRollDiceOpponent = "str_boardgame_roll_dice_opponent" |
|
static |
◆ InvalidDice
| const int SandBox.BoardGames.BoardGameBase.InvalidDice = -1 |
|
staticprotected |
◆ DelayBeforeMovingAnyPawn
| const float SandBox.BoardGames.BoardGameBase.DelayBeforeMovingAnyPawn = 0.25f |
|
staticprotected |
◆ DelayBetweenPawnMovementsBegin
| const float SandBox.BoardGames.BoardGameBase.DelayBetweenPawnMovementsBegin = 0.15f |
|
staticprotected |
◆ PawnSelectedFactor
| uint SandBox.BoardGames.BoardGameBase.PawnSelectedFactor = 0xFFFFFFFF |
|
protected |
◆ PawnUnselectedFactor
| uint SandBox.BoardGames.BoardGameBase.PawnUnselectedFactor = 0xFF3D3D3D |
|
protected |
◆ MissionHandler
◆ BoardEntity
| GameEntity SandBox.BoardGames.BoardGameBase.BoardEntity |
|
protected |
◆ DiceBoard
| GameEntity SandBox.BoardGames.BoardGameBase.DiceBoard |
|
protected |
◆ JustStoppedDraggingUnit
| bool SandBox.BoardGames.BoardGameBase.JustStoppedDraggingUnit |
|
protected |
◆ PlayerOnePool
◆ ReadyToPlay
| bool SandBox.BoardGames.BoardGameBase.ReadyToPlay |
|
protected |
◆ PlayerTwoPool
◆ SettingUpBoard
| bool SandBox.BoardGames.BoardGameBase.SettingUpBoard = true |
|
protected |
◆ HasToMovePawnsAcross
| bool SandBox.BoardGames.BoardGameBase.HasToMovePawnsAcross |
|
protected |
◆ DiceRollAnimationTimer
| float SandBox.BoardGames.BoardGameBase.DiceRollAnimationTimer |
|
protected |
◆ MovesLeftToEndTurn
| int SandBox.BoardGames.BoardGameBase.MovesLeftToEndTurn |
|
protected |
◆ DiceRollAnimationRunning
| bool SandBox.BoardGames.BoardGameBase.DiceRollAnimationRunning |
|
protected |
◆ DiceRollSoundCodeID
| int SandBox.BoardGames.BoardGameBase.DiceRollSoundCodeID |
|
protected |
◆ TileCount
| abstract int SandBox.BoardGames.BoardGameBase.TileCount |
|
get |
◆ RotateBoard
| abstract bool SandBox.BoardGames.BoardGameBase.RotateBoard |
|
getprotected |
◆ PreMovementStagePresent
| abstract bool SandBox.BoardGames.BoardGameBase.PreMovementStagePresent |
|
getprotected |
◆ DiceRollRequired
| abstract bool SandBox.BoardGames.BoardGameBase.DiceRollRequired |
|
getprotected |
◆ UnitsToPlacePerTurnInPreMovementStage
| virtual int SandBox.BoardGames.BoardGameBase.UnitsToPlacePerTurnInPreMovementStage |
|
getprotected |
◆ SelectedUnit
| virtual PawnBase SandBox.BoardGames.BoardGameBase.SelectedUnit |
|
getsetprotected |
◆ Name
◆ InPreMovementStage
| bool SandBox.BoardGames.BoardGameBase.InPreMovementStage |
|
getprotected set |
◆ Tiles
| TileBase [] SandBox.BoardGames.BoardGameBase.Tiles |
|
getprotected set |
◆ PlayerOneUnits
| List<PawnBase> SandBox.BoardGames.BoardGameBase.PlayerOneUnits |
|
getprotected set |
◆ PlayerTwoUnits
| List<PawnBase> SandBox.BoardGames.BoardGameBase.PlayerTwoUnits |
|
getprotected set |
◆ LastDice
| int SandBox.BoardGames.BoardGameBase.LastDice |
|
getprotected set |
◆ IsReady
| bool SandBox.BoardGames.BoardGameBase.IsReady |
|
get |
◆ PlayerWhoStarted
| PlayerTurn SandBox.BoardGames.BoardGameBase.PlayerWhoStarted |
|
get |
◆ GameOverInfo
◆ PlayerTurn
| PlayerTurn SandBox.BoardGames.BoardGameBase.PlayerTurn |
|
getprotected set |
◆ InputManager
◆ PawnSelectFilter
| List<PawnBase> SandBox.BoardGames.BoardGameBase.PawnSelectFilter |
|
getprotected |
◆ AIOpponent