basic-components/src/main/java/universalelectricity/api/energy/IConductor.java

28 lines
744 B
Java

package universalelectricity.api.energy;
import universalelectricity.api.net.IConnector;
/**
* A connector for {EnergyNetwork}.
*
* @author Calclavia
*/
public interface IConductor extends IConnector<IEnergyNetwork>, IEnergyInterface
{
/**
* Gets the amount of resistance of energy conducting pass this conductor.
*
* @return The amount of loss in Ohms.
*/
public double getResistance();
/**
* The maximum amount of current this conductor can buffer (the transfer rate, essentially). You
* can simply do divide your energy transfer rate by UniversalElectricity.DEFAULT_VOLTAGE if
* your conductor is not voltage sensitive.
*
* @return The amount of current in amperes.
*/
public double getCurrentCapacity();
}