ORK Framework  2.22.0
API Documentation
ORKFramework.BattleGridCellTypeSingle Class Reference
Inheritance diagram for ORKFramework.BattleGridCellTypeSingle:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

GameObject CreatePrefabInstance (BattleGridCellComponent cell)
 
bool CanMoveFrom (BattleGridCellComponent fromCell)
 
string ReplaceMoveCosts (string text, Combatant user)
 
float GetMoveCost (Combatant user)
 
float GetMoveCost (Combatant user, BattleGridCellComponent fromCell)
 
float GetActionCost (Combatant user)
 
float GetActionCost (Combatant user, BattleGridCellComponent fromCell)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

GridCellPrefab prefab = new GridCellPrefab()
 
Vector3 highlightPositionOffset = Vector3.zero
 
Vector3 highlightRotationOffset = Vector3.zero
 
Vector3 lineHighlightPositionOffset = Vector3.zero
 
GameObject editorPrefab
 
GridCellPrefab[] randomPrefab = new GridCellPrefab[0]
 
bool usePositionOffset = false
 
Vector3 positionOffset = Vector3.zero
 
bool localPosition = false
 
bool blocked = false
 
bool passable = false
 
bool blockDiagonalMove = true
 
GridDeploymentCell deployment = new GridDeploymentCell()
 
FloatValue moveCost = new FloatValue(1)
 
FloatValue actionCost = new FloatValue(0)
 
GridCellTypeCost[] cellTypeCost = new GridCellTypeCost[0]
 
bool useObjectVariables = false
 
ObjectVariableSetting objectVariables
 
GridCellEvent[] cellEvent = new GridCellEvent[0]