C# Class Indiefreaks.Xna.Logic.GoalDriven.GoalBrain

Add this component to your SceneEntity or SceneObject instances to provide him with Goal Driven AI
Inheritance: NonPlayerAgent
Afficher le fichier Open project: Indiefreaks/igf

Méthodes publiques

Méthode Description
Add ( Behavior behavior ) : void

Adds a new Goal to the brain

GoalBrain ( )

Creates a new instance

Remove ( Behavior behavior ) : void

Removes a Goal from the brain

Method Details

Add() public méthode

Adds a new Goal to the brain
public Add ( Behavior behavior ) : void
behavior Behavior
Résultat void

GoalBrain() public méthode

Creates a new instance
public GoalBrain ( )

Remove() public méthode

Removes a Goal from the brain
public Remove ( Behavior behavior ) : void
behavior Behavior
Résultat void