ORK Framework  2.25.2
API Documentation
ORKFramework.Behaviours.BattleGridComponent Class Reference
Inheritance diagram for ORKFramework.Behaviours.BattleGridComponent:

Public Member Functions

void FireGridChanged ()
 
void MarkFireChanged ()
 
void Start ()
 
void Init ()
 
void RemoveGrid ()
 
BattleGridCellComponent GetCell (int row, int column)
 
BattleGridCellComponent GetCell (CubeCoord coord)
 
void GetCells (ref List< BattleGridCellComponent > cells, GridCellCheck check)
 
BattleGridCellComponent GetNearestCell (Vector3 position, float maxDistance, NearestCheck< BattleGridCellComponent > check)
 
BattleGridCellComponent GetNearestFreeCell (Combatant combatant)
 
BattleGridCellComponent GetNearestDeploymentCell (Combatant combatant, bool checkMemberIndex)
 
virtual void JoinDeploymentCombatants (BattleSystemType battleType)
 
void ShowGridPrefabs ()
 
void HideGridPrefabs ()
 
void RemoveGridPrefabs ()
 
void LineHighlight (GridHighlightType type, LineGridHighlight settings, BattleGridCellComponent cell)
 
void LineHighlight (GridHighlightType type, LineGridHighlight settings, List< BattleGridCellComponent > cells)
 
void StopLineHighlight (GridHighlightType type, LineGridHighlight settings, BattleGridCellComponent cell)
 
void StopLineHighlight (GridHighlightType type, LineGridHighlight settings, List< BattleGridCellComponent > cells)
 
void EditorShowPrefabs ()
 
void EditorDestroyPrefabs ()
 

Public Attributes

int rows = 10
 
int columns = 10
 
TextAnchor positionAnchor = TextAnchor.MiddleCenter
 
bool generateKeepOldCells = false
 
bool useSlope = false
 
int cellTypeID = 0
 
int emptyCellTypeID = 0
 
bool useBlockedType = false
 
float blockedTypeSlope = 45
 
int blockedCellTypeID = 0
 
LayerMask rayLayerMask = -1
 
Vector3 raySourceOffset = new Vector3(0, 0, 0)
 
float rayDistance = 100
 
Vector3 rayHitOffset = Vector3.zero
 
bool showEditorGrid = false
 
bool showEditorPrefabs = false
 
bool showEditorUnselected = false
 
bool autoShowGrid = false
 
BattleGridCellRow [] cellRow
 

Protected Member Functions

void CreateLookup ()
 
void Update ()
 
virtual void FindDeploymentCells ()
 

Properties

Notify GridChanged
 
bool HighlightsHidden [get, set]