Inherits SandBox.BoardGames.BoardGameBase.
|
override PawnBase | SelectPawn (PawnBase pawn) |
|
override void | HandlePreMovementStage (float dt) |
|
override void | HandlePreMovementStageAI (Move move) |
|
override void | MovePawnToTileDelayed (PawnBase pawn, TileBase tile, bool instantMove, bool displayMessage, float delay) |
|
override void | SwitchPlayerTurn () |
|
override bool | CheckGameEnded () |
|
override void | OnAfterBoardSetUp () |
|
void | CheckWhichPawnsAreCaptured (PawnKonane pawn, bool fake=false) |
|
Protected Member Functions inherited from SandBox.BoardGames.BoardGameBase |
| BoardGameBase (MissionBoardGameLogic mission, TextObject name, PlayerTurn startingPlayer) |
|
PawnBase | SelectPawn (PawnBase pawn) |
|
bool | CheckGameEnded () |
|
void | OnAfterBoardSetUp () |
|
virtual void | OnAfterBoardRotated () |
|
virtual void | OnBeforeEndTurn () |
|
virtual void | UpdateAllTilesPositions () |
|
virtual void | OnPawnArrivesGoalPosition (PawnBase pawn, Vec3 prevPos, Vec3 currentPos) |
|
virtual void | MovePawnToTile (PawnBase pawn, TileBase tile, bool instantMove=false, bool displayMessage=true) |
|
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 () |
|
◆ BoardGameKonane()
◆ InitializeUnits()
override void SandBox.BoardGames.BoardGameKonane.InitializeUnits |
( |
| ) |
|
◆ InitializeTiles()
override void SandBox.BoardGames.BoardGameKonane.InitializeTiles |
( |
| ) |
|
◆ InitializeSound()
override void SandBox.BoardGames.BoardGameKonane.InitializeSound |
( |
| ) |
|
◆ Reset()
override void SandBox.BoardGames.BoardGameKonane.Reset |
( |
| ) |
|
|
virtual |
◆ CalculateValidMoves()
override List< Move > SandBox.BoardGames.BoardGameKonane.CalculateValidMoves |
( |
PawnBase | pawn | ) |
|
◆ SetPawnCaptured()
override void SandBox.BoardGames.BoardGameKonane.SetPawnCaptured |
( |
PawnBase | pawn, |
|
|
bool | fake = false ) |
|
virtual |
◆ SelectPawn()
override PawnBase SandBox.BoardGames.BoardGameKonane.SelectPawn |
( |
PawnBase | pawn | ) |
|
|
protected |
◆ HandlePreMovementStage()
override void SandBox.BoardGames.BoardGameKonane.HandlePreMovementStage |
( |
float | dt | ) |
|
|
protectedvirtual |
◆ HandlePreMovementStageAI()
override void SandBox.BoardGames.BoardGameKonane.HandlePreMovementStageAI |
( |
Move | move | ) |
|
|
protectedvirtual |
◆ MovePawnToTileDelayed()
override void SandBox.BoardGames.BoardGameKonane.MovePawnToTileDelayed |
( |
PawnBase | pawn, |
|
|
TileBase | tile, |
|
|
bool | instantMove, |
|
|
bool | displayMessage, |
|
|
float | delay ) |
|
protectedvirtual |
◆ SwitchPlayerTurn()
override void SandBox.BoardGames.BoardGameKonane.SwitchPlayerTurn |
( |
| ) |
|
|
protectedvirtual |
◆ CheckGameEnded()
override bool SandBox.BoardGames.BoardGameKonane.CheckGameEnded |
( |
| ) |
|
|
protected |
◆ OnAfterBoardSetUp()
override void SandBox.BoardGames.BoardGameKonane.OnAfterBoardSetUp |
( |
| ) |
|
|
protected |
◆ AIMakeMove()
void SandBox.BoardGames.BoardGameKonane.AIMakeMove |
( |
Move | move | ) |
|
◆ CheckForRemovablePawns()
int SandBox.BoardGames.BoardGameKonane.CheckForRemovablePawns |
( |
bool | playerOne | ) |
|
◆ TakeBoardSnapshot()
◆ UndoMove()
◆ CheckWhichPawnsAreCaptured()
void SandBox.BoardGames.BoardGameKonane.CheckWhichPawnsAreCaptured |
( |
PawnKonane | pawn, |
|
|
bool | fake = false ) |
|
protected |
◆ WhitePawnCount
const int SandBox.BoardGames.BoardGameKonane.WhitePawnCount = 18 |
|
static |
◆ BlackPawnCount
const int SandBox.BoardGames.BoardGameKonane.BlackPawnCount = 18 |
|
static |
◆ BoardWidth
readonly int SandBox.BoardGames.BoardGameKonane.BoardWidth = 6 |
|
static |
◆ BoardHeight
readonly int SandBox.BoardGames.BoardGameKonane.BoardHeight = 6 |
|
static |
◆ RemovablePawns
List<PawnBase> SandBox.BoardGames.BoardGameKonane.RemovablePawns = new List<PawnBase>() |
◆ TileCount
override int SandBox.BoardGames.BoardGameKonane.TileCount |
|
get |
◆ RotateBoard
override bool SandBox.BoardGames.BoardGameKonane.RotateBoard |
|
getprotected |
◆ PreMovementStagePresent
override bool SandBox.BoardGames.BoardGameKonane.PreMovementStagePresent |
|
getprotected |
◆ DiceRollRequired
override bool SandBox.BoardGames.BoardGameKonane.DiceRollRequired |
|
getprotected |