moagg.game.control.handler.explosion
Class ProjectileExplosionImpl

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

public class ProjectileExplosionImpl
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.
static double PARTICLE_SPEED_FUZZ
          Explosion particle speed fuzz.
 
Constructor Summary
ProjectileExplosionImpl()
           
 
Method Summary
protected  Particle createExplosionParticle(com.golden.gamedev.object.Sprite projectile)
           
 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_SPEED_FUZZ

public static final double PARTICLE_SPEED_FUZZ
Explosion particle speed fuzz.

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

ProjectileExplosionImpl

public ProjectileExplosionImpl()
Method Detail

update

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

createExplosionParticle

protected Particle createExplosionParticle(com.golden.gamedev.object.Sprite projectile)


Copyright © 2008. All Rights Reserved.