Package teilchen
Interface Particle
-
- All Superinterfaces:
SpatialEntity
- All Known Subinterfaces:
IBehaviorParticle
- All Known Implementing Classes:
BasicParticle
,BehaviorParticle
,CubicleParticle
,MortalParticle
,ShortLivedParticle
public interface Particle extends SpatialEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accumulateInnerForce(float pDeltaTime)
float
age()
void
age(float pAge)
boolean
dead()
void
dead(boolean pDead)
boolean
fixed()
void
fixed(boolean pFixed)
processing.core.PVector
force()
long
ID()
float
mass()
void
mass(float pMass)
processing.core.PVector
old_position()
processing.core.PVector
position()
float
radius()
void
radius(float pRadius)
void
setPositionRef(processing.core.PVector pPosition)
boolean
still()
void
still(boolean pStill)
void
tag(boolean pTag)
boolean
tagged()
processing.core.PVector
velocity()
-
-
-
Method Detail
-
fixed
boolean fixed()
-
fixed
void fixed(boolean pFixed)
-
age
float age()
-
age
void age(float pAge)
-
mass
float mass()
-
mass
void mass(float pMass)
-
old_position
processing.core.PVector old_position()
-
setPositionRef
void setPositionRef(processing.core.PVector pPosition)
-
velocity
processing.core.PVector velocity()
-
force
processing.core.PVector force()
-
dead
boolean dead()
-
dead
void dead(boolean pDead)
-
tagged
boolean tagged()
-
tag
void tag(boolean pTag)
-
accumulateInnerForce
void accumulateInnerForce(float pDeltaTime)
-
radius
float radius()
- Specified by:
radius
in interfaceSpatialEntity
-
position
processing.core.PVector position()
- Specified by:
position
in interfaceSpatialEntity
-
radius
void radius(float pRadius)
-
still
boolean still()
-
still
void still(boolean pStill)
-
ID
long ID()
-
-