(C++)  1.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::planning::IPlannerObject Class Referenceabstract

The interface to be implemented by classes that should be converted and bound to plan-space WorldObjects. More...

#include <IPlannerObject.hh>

Public Member Functions

 IPlannerObject (const IPlannerObject &)=default
 
 IPlannerObject (IPlannerObject &&)=default
 
IPlannerObjectoperator= (const IPlannerObject &)=default
 
IPlannerObjectoperator= (IPlannerObject &&)=default
 
virtual WorldObject ToWorldObject (Domain &domain, const class ObjectIndexBinding &objectBinding) const =0
 

Detailed Description

The interface to be implemented by classes that should be converted and bound to plan-space WorldObjects.

Member Function Documentation

virtual WorldObject grail::planning::IPlannerObject::ToWorldObject ( Domain domain,
const class ObjectIndexBinding objectBinding 
) const
pure virtual

This method should create a WorldObject instance based on the given Domain. Use domain.createObject instead of constructing your own World Objects. If you want to express interdependencies between World Objects, use ObjectIndexBinding.


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