electrodynamics/APIs/icbm/api/explosion/IExplosion.java
2013-07-22 18:24:55 -04:00

26 lines
475 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();
}