moagg.game.control.handler.explosion
Class TileExplosionImpl

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

public class TileExplosionImpl
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
TileExplosionImpl()
           
 
Method Summary
protected  Particle createExplosionParticle(DestroyableTile tile)
           
 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

TileExplosionImpl

public TileExplosionImpl()
Method Detail

update

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

createExplosionParticle

protected Particle createExplosionParticle(DestroyableTile tile)


Copyright © 2008. All Rights Reserved.