blob: 6f83e17d9288bfceaca57aa4b1e87220a131b871 [file] [log] [blame] [raw]
package universalelectricity.implement;
/**
* This interface is to be applied to all tile entities which stores energy within them.
* @author Calclavia
*/
public interface IJouleStorage
{
/**
* Returns the amount of joules this unit has stored.
*/
public double getJoules(Object... data);
/**
* Sets the amount of joules this unit has stored.
*/
public void setJoules(double wattHours, Object... data);
/**
* Gets the maximum amount of joules this unit can store.
*/
public double getMaxJoules();
}