| Constructor | Description |
|---|---|
Explosion(ParticleSystem smoke1,
ParticleSystem smoke2,
ParticleSystem flash,
ParticleSystem spark) |
Full constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
runOneFrame(long time) |
|
void |
setPosition(be.yildizgames.common.geometry.Point3D position) |
Set explosion position.
|
void |
start() |
Start playing the animation.
|
public Explosion(ParticleSystem smoke1, ParticleSystem smoke2, ParticleSystem flash, ParticleSystem spark)
smoke1 - Smoke 1.smoke2 - Smoke 2.flash - Flash.spark - Spark.public void setPosition(be.yildizgames.common.geometry.Point3D position)
setPosition in interface Animationposition - New position.public void start()
Animationpublic boolean runOneFrame(long time)
runOneFrame in interface Animationtime - Time since last frame in milliseconds.true if the animation is running, false
if completed.Copyright © 2014–2018. All rights reserved.