C# Class Nez.AI.GOAP.Agent

Agent provides a simple and concise way to use the planner. It is not necessary to use at all since it is just a convenince wrapper around the ActionPlanner making it easier to get plans and store the results.
Afficher le fichier Open project: prime31/Nez

Méthodes publiques

Свойство Type Description
actions Stack

Protected Properties

Свойство Type Description
_planner ActionPlanner

Méthodes publiques

Méthode Description
Agent ( ) : System
getGoalState ( ) : WorldState

the goal state that the agent wants to achieve

getWorldState ( ) : WorldState

current WorldState

hasActionPlan ( ) : bool
plan ( bool debugPlan = false ) : bool

Method Details

Agent() public méthode

public Agent ( ) : System
Résultat System

getGoalState() abstract public méthode

the goal state that the agent wants to achieve
abstract public getGoalState ( ) : WorldState
Résultat WorldState

getWorldState() abstract public méthode

current WorldState
abstract public getWorldState ( ) : WorldState
Résultat WorldState

hasActionPlan() public méthode

public hasActionPlan ( ) : bool
Résultat bool

plan() public méthode

public plan ( bool debugPlan = false ) : bool
debugPlan bool
Résultat bool

Property Details

_planner protected_oe property

protected ActionPlanner,Nez.AI.GOAP _planner
Résultat ActionPlanner

actions public_oe property

public Stack actions
Résultat Stack