grail (C  1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.ConfigInterpreter Class Reference

A class used to construct entities and entity groups based on configuration data More...

Public Member Functions

 ConfigInterpreter (GrailConfiguration configuration, params IReasonerFactory[] reasonerFactories)
 Constructs a config interpreter with user-provided reasoner factories More...
 
EntityGroup CreateEntityGroup (string entityGroupName)
 Creates an entity group based on config data and a string id More...
 
AIEntity CreateEntity (string entityName)
 Creates an entity based on config data and a string id More...
 

Properties

GrailConfiguration Configuration [get]
 

Detailed Description

A class used to construct entities and entity groups based on configuration data

Constructor & Destructor Documentation

◆ ConfigInterpreter()

Grail.ConfigInterpreter.ConfigInterpreter ( GrailConfiguration  configuration,
params IReasonerFactory[]  reasonerFactories 
)
inline

Constructs a config interpreter with user-provided reasoner factories

Parameters
configuration
reasonerFactories

Member Function Documentation

◆ CreateEntity()

AIEntity Grail.ConfigInterpreter.CreateEntity ( string  entityName)
inline

Creates an entity based on config data and a string id

Parameters
entityName
Returns

◆ CreateEntityGroup()

EntityGroup Grail.ConfigInterpreter.CreateEntityGroup ( string  entityGroupName)
inline

Creates an entity group based on config data and a string id

Parameters
entityGroupName
manager
Returns

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