Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Attributes | Properties | List of all members
KFSMState Class Reference
Inheritance diagram for KFSMState:
TutorialScenario.TutorialPage

Public Member Functions

void AddEvent (KFSMEvent ev)
 
bool IsValid (KFSMEvent ev)
 
 KFSMState (string name)
 
override string ToString ()
 

Public Attributes

int FrameCountAtStateEnter
 
string name
 
KFSMStateChange OnEnter = (KFSMState fromState) => { }
 
KFSMCallback OnFixedUpdate = () => { }
 
KFSMCallback OnLateUpdate = () => { }
 
KFSMStateChange OnLeave = (KFSMState toState) => { }
 
KFSMCallback OnUpdate = () => { }
 
double TimeAtStateEnter
 
KFSMUpdateMode updateMode = KFSMUpdateMode.FIXEDUPDATE
 

Protected Attributes

List< KFSMEventstateEvents
 

Properties

List< KFSMEventStateEvents [get]
 

Constructor & Destructor Documentation

KFSMState.KFSMState ( string  name)
inline

Member Function Documentation

void KFSMState.AddEvent ( KFSMEvent  ev)
inline
bool KFSMState.IsValid ( KFSMEvent  ev)
inline
override string KFSMState.ToString ( )
inline

Member Data Documentation

int KFSMState.FrameCountAtStateEnter
string KFSMState.name
KFSMStateChange KFSMState.OnEnter = (KFSMState fromState) => { }
KFSMCallback KFSMState.OnFixedUpdate = () => { }
KFSMCallback KFSMState.OnLateUpdate = () => { }
KFSMStateChange KFSMState.OnLeave = (KFSMState toState) => { }
KFSMCallback KFSMState.OnUpdate = () => { }
List<KFSMEvent> KFSMState.stateEvents
protected
double KFSMState.TimeAtStateEnter

Property Documentation

List<KFSMEvent> KFSMState.StateEvents
get

The documentation for this class was generated from the following file: