moagg.game.control.handler.explosion
Class OrientationExplosionImpl

java.lang.Object
  extended by moagg.game.control.handler.explosion.OrientationExplosionImpl
All Implemented Interfaces:
Explosion

public class OrientationExplosionImpl
extends java.lang.Object
implements Explosion


Field Summary
static int PARTICLE_LIFETIME
          The lifetime of an explosion particle in milliseconds.
static int PARTICLE_LIFETIME_FUZZ
          Explosion particle lifetime fuzz in milliseconds.
static double PARTICLE_SPEED
          The relative speed of explosion particles.
 
Constructor Summary
OrientationExplosionImpl()
           
 
Method Summary
protected  Particle createExplosionParticle(MoaggGameObject object, Orientation orientation)
           
 void update(DestroyableObject destroyable, InternalGameControl gameControl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARTICLE_SPEED

public static final double PARTICLE_SPEED
The relative speed of explosion particles.

See Also:
Constant Field Values

PARTICLE_LIFETIME

public static final int PARTICLE_LIFETIME
The lifetime of an explosion particle in milliseconds.

See Also:
Constant Field Values

PARTICLE_LIFETIME_FUZZ

public static final int PARTICLE_LIFETIME_FUZZ
Explosion particle lifetime fuzz in milliseconds.

See Also:
Constant Field Values
Constructor Detail

OrientationExplosionImpl

public OrientationExplosionImpl()
Method Detail

update

public void update(DestroyableObject destroyable,
                   InternalGameControl gameControl)
Specified by:
update in interface Explosion

createExplosionParticle

protected Particle createExplosionParticle(MoaggGameObject object,
                                           Orientation orientation)


Copyright © 2008. All Rights Reserved.