Package teilchen
Class ShortLivedParticle
- java.lang.Object
-
- teilchen.BasicParticle
-
- teilchen.ShortLivedParticle
-
- All Implemented Interfaces:
java.io.Serializable
,Particle
,SpatialEntity
public class ShortLivedParticle extends BasicParticle
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShortLivedParticle()
ShortLivedParticle(float pMaxAge)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
ageRatio()
boolean
dead()
void
setMaxAge(float pMaxAge)
-
-
-
Method Detail
-
setMaxAge
public void setMaxAge(float pMaxAge)
-
ageRatio
public float ageRatio()
-
dead
public boolean dead()
- Specified by:
dead
in interfaceParticle
- Overrides:
dead
in classBasicParticle
-
-