Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.BAAIBehaviorTree.Factory Class Reference

Factory for loading actor ai. More...

Inheritance diagram for Dragengine.Scenery.BAAIBehaviorTree.Factory:
Dragengine.LoadSave.PersistencyFactory Dragengine.Scenery.ECBehaviorActorAIAction.AIFactory

Public Member Functions

BaseActorAI createAI (ECBehaviorActorAIAction.Instance instance)
 Create AI for behavior instance. More...
 
Factory new ()
 
Persistable readObjectFromFile (PersistencyEnvironment env, FileReader reader)
 Read object from file reader. More...
 

Static Public Member Functions

static void registerFactory (Persistency persistency)
 

Static Public Attributes

static final String NAME = "BAAIBehaviorTree"
 

Detailed Description

Factory for loading actor ai.

Member Function Documentation

◆ createAI()

BaseActorAI Dragengine.Scenery.BAAIBehaviorTree.Factory.createAI ( ECBehaviorActorAIAction.Instance  instance)

Create AI for behavior instance.

Implements Dragengine.Scenery.ECBehaviorActorAIAction.AIFactory.

◆ new()

Factory Dragengine.Scenery.BAAIBehaviorTree.Factory.new ( )

◆ readObjectFromFile()

Persistable Dragengine.Scenery.BAAIBehaviorTree.Factory.readObjectFromFile ( PersistencyEnvironment  env,
FileReader  reader 
)

Read object from file reader.

Reads the object content itself. The factory name has been read by now. Writing to file is implemented in Persistable.writeObjectToFile().

Implements Dragengine.LoadSave.PersistencyFactory.

◆ registerFactory()

static void Dragengine.Scenery.BAAIBehaviorTree.Factory.registerFactory ( Persistency  persistency)
static

Member Data Documentation

◆ NAME

final String Dragengine.Scenery.BAAIBehaviorTree.Factory.NAME = "BAAIBehaviorTree"
static

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