Package teilchen.behavior
Class Steering
- java.lang.Object
-
- teilchen.behavior.Steering
-
public class Steering extends java.lang.Object implements IBehavior, Verhalten
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface teilchen.behavior.Verhalten
SMALLEST_ACCEPTABLE_DISTANCE
-
-
Constructor Summary
Constructors Constructor Description Steering()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
active(boolean pActive)
processing.core.PVector
force()
float
steering_strength()
void
steering_strength(float pSteering)
void
update(float pDeltaTime, IBehaviorParticle pParent)
processing.core.PVector
upvector()
float
weight()
void
weight(float pWeight)
-
-
-
Method Detail
-
update
public void update(float pDeltaTime, IBehaviorParticle pParent)
-
steering_strength
public float steering_strength()
-
steering_strength
public void steering_strength(float pSteering)
-
upvector
public processing.core.PVector upvector()
-
active
public void active(boolean pActive)
-
-