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

Factory for loading actor ai. More...

Inheritance diagram for Dragengine.Scenery.BaseActorAI.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 = "BaseActorAI"
 

Detailed Description

Factory for loading actor ai.

Member Function Documentation

◆ createAI()

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

Create AI for behavior instance.

Implements Dragengine.Scenery.ECBehaviorActorAIAction.AIFactory.

◆ new()

Factory Dragengine.Scenery.BaseActorAI.Factory.new ( )

◆ readObjectFromFile()

Persistable Dragengine.Scenery.BaseActorAI.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.BaseActorAI.Factory.registerFactory ( Persistency  persistency)
static

Member Data Documentation

◆ NAME

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

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