grail (C  1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.Prefab< InstanceType, ContextType, DataType > Class Template Reference

Responsible for producing contexts and instances of data used by UtilityReasoner. More...

Public Member Functions

delegate List< ContextType > ContextProducerDelegate (in DataType data)
 
delegate InstanceType InstanceProducerDelegate (in ContextType context)
 
 Prefab (string name, ContextProducerDelegate contextProducer, InstanceProducerDelegate instanceProducer)
 Contructor More...
 
List< ContextType > ProduceContexts (in DataType data)
 
InstanceType ProduceInstance (in ContextType context)
 

Properties

string Name [get]
 

Detailed Description

Responsible for producing contexts and instances of data used by UtilityReasoner.

Template Parameters
InstanceType
ContextType
DataType

Constructor & Destructor Documentation

◆ Prefab()

Grail.Prefab< InstanceType, ContextType, DataType >.Prefab ( string  name,
ContextProducerDelegate  contextProducer,
InstanceProducerDelegate  instanceProducer 
)
inline

Contructor

Parameters
namename of the prefab
contextProducerdelegate responsible for producing vector of contexts
instanceProducerdelegate responsible for producing instance of data based on provided context

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