Package teilchen.behavior
Class Flee
- java.lang.Object
-
- teilchen.behavior.Flee
-
public class Flee 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 Flee()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description processing.core.PVector
force()
processing.core.PVector
position()
void
setPositionRef(processing.core.PVector pPoint)
void
update(float pDeltaTime, IBehaviorParticle pParent)
float
weight()
void
weight(float pWeight)
-
-
-
Method Detail
-
position
public processing.core.PVector position()
-
setPositionRef
public void setPositionRef(processing.core.PVector pPoint)
-
update
public void update(float pDeltaTime, IBehaviorParticle pParent)
-
-