C# Class Indiefreaks.Xna.Logic.Steering.Hide

Steering Behavior that creates a force that will tend the agent to hide behind an obstacle
Inheritance: ContextualSteeringBehavior
Afficher le fichier Open project: Indiefreaks/igf

Méthodes publiques

Méthode Description
CanCompute ( ) : bool

Defines if the current steering behavior can execute or not.

Override this method to add a global condition to this behavior

Compute ( ) : void

Computes the current Steering Behavior

GetBestHidingSpot ( ) : void

Returns the best hiding spot in the current Context

Hide ( ) : Microsoft.Xna.Framework

Creates a new instance

Method Details

CanCompute() public méthode

Defines if the current steering behavior can execute or not.
Override this method to add a global condition to this behavior
public CanCompute ( ) : bool
Résultat bool

Compute() public méthode

Computes the current Steering Behavior
public Compute ( ) : void
Résultat void

GetBestHidingSpot() public méthode

Returns the best hiding spot in the current Context
public GetBestHidingSpot ( ) : void
Résultat void

Hide() public méthode

Creates a new instance
public Hide ( ) : Microsoft.Xna.Framework
Résultat Microsoft.Xna.Framework