de.steeringbehaviors.simulation.mind
Class SimpleMind

java.lang.Object
  extended by de.steeringbehaviors.simulation.mind.Mind
      extended by de.steeringbehaviors.simulation.mind.SimpleMind

public class SimpleMind
extends Mind


Field Summary
 
Fields inherited from class de.steeringbehaviors.simulation.mind.Mind
m_behaviors, m_forces, m_trackBehaviors
 
Constructor Summary
SimpleMind()
          Constructor
SimpleMind(java.util.Vector behaviors)
          Constructor
 
Method Summary
 Vector2d calculate(Vehicle v)
          Calculates the forces based on internal data
 
Methods inherited from class de.steeringbehaviors.simulation.mind.Mind
addBehavior, getBehaviors, getForces, setBehaviors, setTrackBehaviors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMind

public SimpleMind()
Constructor


SimpleMind

public SimpleMind(java.util.Vector behaviors)
Constructor

Parameters:
behaviors - Array with the behaviors to be used in the mind
Method Detail

calculate

public Vector2d calculate(Vehicle v)
Calculates the forces based on internal data

Overrides:
calculate in class Mind
Returns:
The force for this step of animation