2013-07-22 07:05:40 +02:00
|
|
|
package icbm.api.explosion;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The actual explosion interface. Extends Explosion.java.
|
|
|
|
*
|
|
|
|
* @author Calclavia
|
|
|
|
*
|
|
|
|
*/
|
2013-07-23 00:24:55 +02:00
|
|
|
public interface IExplosion
|
|
|
|
{
|
2013-07-22 07:05:40 +02:00
|
|
|
/**
|
|
|
|
* 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.
|
2013-07-22 07:05:40 +02:00
|
|
|
*/
|
|
|
|
public float getEnergy();
|
|
|
|
}
|