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

An interface used to specify the goal selection logic for Reasoners.PlannerReasoner.
Implement this method if you want to define your own goal selection logic. The planner will aim to construct plans that satisfy this goal. More...

Public Member Functions

void UpdateGoal (IGoalAcceptor goalAcceptor, AIEntity entity)
 This method should invoke goalAcceptor.setNewGoal whenever a new goal is selected More...
 

Detailed Description

An interface used to specify the goal selection logic for Reasoners.PlannerReasoner.
Implement this method if you want to define your own goal selection logic. The planner will aim to construct plans that satisfy this goal.

Member Function Documentation

◆ UpdateGoal()

void Grail.Planners.IGoalSelector.UpdateGoal ( IGoalAcceptor  goalAcceptor,
AIEntity  entity 
)

This method should invoke goalAcceptor.setNewGoal whenever a new goal is selected

Parameters
goalAcceptor
entityThe entity for which the goal is selected.

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