ORK Framework  2.34.0
API Documentation
ORKFramework.MovementSettings Class Reference
Inheritance diagram for ORKFramework.MovementSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
float GetWalkSpeed (Combatant c)
 
float GetRunSpeed (Combatant c)
 
float GetSprintSpeed (Combatant c)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

float min = 1
 
float max = 10
 
bool usePositionChange = true
 
FloatValue walkSpeed = new FloatValue(3)
 
FloatValue runSpeed = new FloatValue(6)
 
FloatValue sprintSpeed = new FloatValue(9)
 
bool useMoveAI = false
 
int moveAI = 0
 
bool useBattleMoveAI = false
 
int battleMoveAI = 0
 
bool ownFindGround = false
 
FindGroundSettings findGround
 

Properties

FindGroundSettingsFindGround [get]
 

Member Function Documentation

◆ SetData()

override void ORKFramework.MovementSettings.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.