blob: ebb89ebb3fcb7ee9361044372a9f85e48543e019 [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();
}