electrodynamics/APIs/icbm/api/explosion/IExplosion.java

27 lines
475 B
Java
Raw Normal View History

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