ORK Framework  2.24.0
API Documentation
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 HighlightCells (GridHighlightType type)
 
void StopHighlightCells (GridHighlightType type)
 
void HighlightCells (BattleGridCellComponent cell, int direction, GridHighlightType type)
 
void StopHighlightCells (BattleGridCellComponent cell, int direction, GridHighlightType type)
 
bool CheckDistance (Combatant combatant, bool blockDiagonalDistance1, int checkFor, int checkFor2, VariableValueCheck valueCheck, GridCellOriginCheck check)
 
bool CheckDistance (BattleGridCellComponent cell, bool blockDiagonalDistance1, int checkFor, int checkFor2, VariableValueCheck 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 (CubeCoord offset, 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)
 
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 (int[] cellTypes)
 

Properties

BattleGridCellComponent Cell [get, set]
 
BattleGridCellComponent CellMarkedForAI [get, set]
 
bool CanMove [get]
 
bool HasGuestCells [get]
 
bool InLocalSpace [get]
 
int CellCount [get]
 
bool HasStoredCell [get]
 
StoredCell Stored [get]