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
ファイルを表示 Open project: Indiefreaks/igf

Public Methods

Method 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 method

Adds a new Goal to the brain
public Add ( Behavior behavior ) : void
behavior Behavior
return void

GoalBrain() public method

Creates a new instance
public GoalBrain ( )

Remove() public method

Removes a Goal from the brain
public Remove ( Behavior behavior ) : void
behavior Behavior
return void