ORK Framework  2.22.0
API Documentation
ORKFramework.GroupGridFormation Class Reference

Public Member Functions

 GroupGridFormation (Group owner)
 
bool IsInFormation (Combatant combatant)
 
bool IsInPosition (Combatant combatant)
 
List< CombatantGetUnpositionedCombatants ()
 
void CombatantDied (Combatant combatant)
 
void CombatantRemoved (Combatant combatant)
 
void CombatantCellChanged (Combatant combatant)
 
void CheckFinishedEffects ()
 
BattleGridCellComponent GetMoveToPositionCell (Combatant combatant)
 
bool IsFormation (int formationID)
 
bool PositionsFilled (bool onlyFilled, bool checkRotation, int gridDistance)
 
bool IsFormationPossible ()
 
bool CheckFormationPossible (BattleGridCellComponent cell, ConsiderFormationCombatants checkCombatants, int rotations, bool checkReachable, bool keepBlockedCells, bool sameCellType, List< BattleGridCellComponent > ignoreCells, List< BattleGridCellComponent > allowCells)
 
void InitFormation (int formationID, Combatant leader)
 
void EndFormation (int formationID)
 
void UpdatePositionCoords ()
 
void FindNewLeader ()
 
void FindPositionCombatants ()
 
void AssignToFreePosition (Combatant combatant)
 
void ReassignPosition (Combatant combatant)
 
void UsePositionRotations ()
 
void UsePositionRotations (Combatant combatant)
 
bool CheckGridDistance (Combatant combatant, int checkFor, int checkFor2, VariableValueCheck check, bool blockDiagonalDistance1, bool ignoreSizeCells, bool onlyFilled, bool onlyOnPosition)
 

Properties

BattleGridFormation Formation [get]
 
Combatant Leader [get]
 
bool InFormation [get]