Grail (C++)  1.4.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::planner::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

◆ ToWorldObject()

virtual WorldObject grail::planner::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.

Returns
The WorldObject that serves as an internal planner counterpart of the current "IPlannerObject"

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