Drag[en]gine Script Module DragonScript 1.35
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.

References pActionFirstRun.

◆ 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.

References new().

Referenced by new().

◆ new() [2/2]

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

Create state backup from file.

References pActionFirstRun, and pCurrentRuleId.

◆ writeToFile()

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

Write to file.

References pCurrentRuleId.

Member Data Documentation

◆ pActionFirstRun

bool Dragengine.BehaviorTreeSystem.BTContext.StateBackup.pActionFirstRun

Referenced by getActionFirstRun(), and new().

◆ pCurrentRuleId

String Dragengine.BehaviorTreeSystem.BTContext.StateBackup.pCurrentRuleId

Referenced by new(), and writeToFile().


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