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

Steer toward the average heading of the flock.
Inheritance: FlockingBehavior
Exibir arquivo Open project: tosos/SanityEngine

Public Methods

Method Description
GetDescription ( ) : string

Protected Methods

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

Update the behavior.

Method Details

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