Package teilchen.behavior
Class Separation<E extends IBehaviorParticle>
- java.lang.Object
-
- teilchen.behavior.Separation<E>
-
- All Implemented Interfaces:
java.io.Serializable
,IBehavior
public class Separation<E extends IBehaviorParticle> extends java.lang.Object implements IBehavior, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Separation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description processing.core.PVector
force()
void
neighbors(java.util.ArrayList<E> pNeighbors)
float
proximity()
void
proximity(float pPrivacyRadius)
void
update(float pDeltaTime, IBehaviorParticle pParent)
float
weight()
void
weight(float pWeight)
-
-
-
Method Detail
-
update
public void update(float pDeltaTime, IBehaviorParticle pParent)
-
neighbors
public void neighbors(java.util.ArrayList<E> pNeighbors)
-
proximity
public float proximity()
-
proximity
public void proximity(float pPrivacyRadius)
-
-