electrodynamics/APIs/icbm/api/explosion/IExplosion.java
2013-07-22 01:20:20 -04:00

25 lines
483 B
Java

package icbm.api.explosion;
/**
* The actual explosion interface. Extends Explosion.java.
*
* @author Calclavia
*
*/
public interface IExplosion {
/**
* Called to initiate the explosion.
*/
public void explode();
/**
* @return The radius of effect of the explosion.
*/
public float getRadius();
/**
* @return The energy emitted by this explosive. In Joules and approximately
* based off of a real life equivalent.
*/
public float getEnergy();
}