Grail (C#)  1.4.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.Planners.IPlannerObject Interface Reference

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

Public Member Functions

WorldObject ToWorldObject (Domain domain, ObjectIndexBinding objectBinding)
 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. More...
 

Detailed Description

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

Member Function Documentation

◆ ToWorldObject()

WorldObject Grail.Planners.IPlannerObject.ToWorldObject ( Domain  domain,
ObjectIndexBinding  objectBinding 
)

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 interface was generated from the following file: