electrodynamics/archive/java/resonantinduction/electrical/tesla/ITesla.java
2014-01-11 17:44:07 +08:00

23 lines
446 B
Java

/**
*
*/
package resonantinduction.electrical.tesla;
import net.minecraft.tileentity.TileEntity;
/**
* @author Calclavia
*
*/
public interface ITesla
{
/**
* @param transferEnergy - The energy amount in kilojoules.
* @param doTransfer - Actually transfer
* @return Energy actually transfered.
*/
public long teslaTransfer(long transferEnergy, boolean doTransfer);
public boolean canTeslaTransfer(TileEntity transferTile);
}