ORK Framework  3.17.1
API Documentation
GamingIsLove.ORKFramework.Combatants.CombatantGrid Class Reference

Public Member Functions

 CombatantGrid (Combatant owner)
 
void SetMoveCell (BattleGridCellComponent cell)
 
void AddSizeCells ()
 
void RemoveSizeCells ()
 
void UpdateSizeCells ()
 
void AddGuestCell (BattleGridCellComponent cell)
 
void RemoveGuestCell (BattleGridCellComponent cell)
 
void StartHighlights ()
 
void StopHighlights ()
 
void HighlightCells (GridCellHighlight type)
 
void StopHighlightCells (GridCellHighlight type)
 
void HighlightCells (BattleGridCellComponent cell, int direction, GridCellHighlight type)
 
void StopHighlightCells (BattleGridCellComponent cell, int direction, GridCellHighlight type)
 
bool CheckDistance (Combatant combatant, bool blockDiagonalDistance1, int checkFor, int checkFor2, ValueCheckType valueCheck, GridCellOriginCheck check)
 
bool CheckDistance (BattleGridCellComponent cell, bool blockDiagonalDistance1, int checkFor, int checkFor2, ValueCheckType valueCheck, GridCellOriginCheck check)
 
bool InRangeNoCellSize (Combatant combatant, bool blockDiagonalDistance1, int minDistance, int maxDistance, GridCellOriginCheck check)
 
bool InRange (Combatant combatant, bool blockDiagonalDistance1, int minDistance, int maxDistance, GridCellOriginCheck check)
 
bool InRange (BattleGridCellComponent cell, bool blockDiagonalDistance1, int minDistance, int maxDistance, GridCellOriginCheck check)
 
int GetLowestDistance (Combatant combatant, bool blockDiagonalDistance1)
 
int GetLowestDistance (BattleGridCellComponent cell, bool blockDiagonalDistance1)
 
int GetFarthestDistance (Combatant combatant, bool blockDiagonalDistance1)
 
int GetFarthestDistance (BattleGridCellComponent cell, bool blockDiagonalDistance1)
 
int GetAverageDistance (Combatant combatant, bool blockDiagonalDistance1)
 
int GetAverageDistance (BattleGridCellComponent cell, bool blockDiagonalDistance1)
 
bool CheckDiagonal (Combatant combatant)
 
bool CheckDiagonal (BattleGridCellComponent cell)
 
BattleGridCellComponent GetCell (int index)
 
bool PlaceOnCheck (BattleGridCellComponent cell)
 
bool CanPlaceOn (BattleGridCellComponent cell, int direction)
 
bool CanRotateTo (int direction)
 
bool CanMoveTo (BattleGridCellComponent cell, bool checkSize, int direction)
 
bool IsOnCell (BattleGridCellComponent cell)
 
bool CheckCells (BattleGridCellComponent cell, int direction, GridCellCheck check)
 
bool CheckCells (GridCellOriginCheck check, BattleGridCellComponent cell)
 
bool IsOnCellType (AssetSelection< BattleGridCellTypeAsset >[] cellTypes)
 

Properties

BattleGridCellComponentCell [get, set]
 
BattleGridCellComponent CellMarkedForAI [get, set]
 
bool CanMove [get]
 
virtual bool? UseGridCellSize [get]
 
virtual GridCellAreaSettings GridCellSize [get]
 
bool HasGuestCells [get]
 
bool InLocalSpace [get]
 
int? CellCount [get]
 
bool HasStoredCell [get]
 
StoredCell Stored [get]