Drag[en]gine Script Module DragonScript 1.32.1
Loading...
Searching...
No Matches
Dragengine.BehaviorTreeSystem.BTContext.StateBackup Class Reference

Behavior tree state backup. More...

Inheritance diagram for Dragengine.BehaviorTreeSystem.BTContext.StateBackup:

Public Member Functions

bool getActionFirstRun ()
 Action first run flag.
 
String getCurrentRuleId ()
 Current rule identifier or null.
 
StateBackup new (BTContext context)
 Create state backup.
 
StateBackup new (PersistencyEnvironment env, FileReader reader)
 Create state backup from file.
 
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write to file.
 

Public Attributes

bool pActionFirstRun
 
String pCurrentRuleId
 

Detailed Description

Behavior tree state backup.

Version
1.30

Member Function Documentation

◆ getActionFirstRun()

bool Dragengine.BehaviorTreeSystem.BTContext.StateBackup.getActionFirstRun ( )

Action first run flag.

◆ getCurrentRuleId()

String Dragengine.BehaviorTreeSystem.BTContext.StateBackup.getCurrentRuleId ( )

Current rule identifier or null.

◆ new() [1/2]

StateBackup Dragengine.BehaviorTreeSystem.BTContext.StateBackup.new ( BTContext  context)

Create state backup.

◆ new() [2/2]

StateBackup Dragengine.BehaviorTreeSystem.BTContext.StateBackup.new ( PersistencyEnvironment  env,
FileReader  reader 
)

Create state backup from file.

◆ writeToFile()

void Dragengine.BehaviorTreeSystem.BTContext.StateBackup.writeToFile ( PersistencyEnvironment  env,
FileWriter  writer 
)

Write to file.

Member Data Documentation

◆ pActionFirstRun

bool Dragengine.BehaviorTreeSystem.BTContext.StateBackup.pActionFirstRun

◆ pCurrentRuleId

String Dragengine.BehaviorTreeSystem.BTContext.StateBackup.pCurrentRuleId

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