|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object moagg.game.control.handler.CreateThrustParticlesHandler
public class CreateThrustParticlesHandler
Takes care of creating thrust particles for ships and missiles.
Field Summary | |
---|---|
static double |
THRUST_PARTICLE_FUZZ
Thrust particle angle fuzz in degrees. |
static int |
THRUST_PARTICLE_LIFETIME
The lifetime of a thrust particle in milliseconds. |
static int |
THRUST_PARTICLE_LIFETIME_FUZZ
Thrust particle lifetime fuzz in milliseconds. |
static double |
THRUST_PARTICLE_SPEED
The relative speed of thrust particles. |
Constructor Summary | |
---|---|
CreateThrustParticlesHandler()
|
Method Summary | |
---|---|
protected Particle |
createThrustParticle(ControllableObject co)
|
protected void |
handleObject(ControllableObject co,
InternalGameControl gameControl)
|
void |
update(InternalGameControl gameControl,
long elapsedTime)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double THRUST_PARTICLE_FUZZ
public static final double THRUST_PARTICLE_SPEED
public static final int THRUST_PARTICLE_LIFETIME
public static final int THRUST_PARTICLE_LIFETIME_FUZZ
Constructor Detail |
---|
public CreateThrustParticlesHandler()
Method Detail |
---|
public void update(InternalGameControl gameControl, long elapsedTime)
update
in interface GameControlHandler
protected void handleObject(ControllableObject co, InternalGameControl gameControl)
protected Particle createThrustParticle(ControllableObject co)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |