C# Class SanityEngine.Movement.SteeringBehaviors.Flocking.Avoid

Avoid future collisions with other actors. In other words, get out of each other's way.
Inheritance: FlockingBehavior
Exibir arquivo Open project: tosos/SanityEngine

Public Methods

Method Description
Avoid ( ) : System.Collections
GetDescription ( ) : string

Protected Methods

Method Description
FlockingUpdate ( SteeringManager manager, Actor actor, float dt ) : Steering

Update the behavior.

Method Details

Avoid() public method

public Avoid ( ) : System.Collections
return System.Collections

FlockingUpdate() protected method

Update the behavior.
protected FlockingUpdate ( SteeringManager manager, Actor actor, float dt ) : Steering
manager SteeringManager The steering manager.
actor Actor The actor being updated.
dt float The time since the last update, in seconds. ///
return Steering

GetDescription() public method

public GetDescription ( ) : string
return string