2013-04-13 16:35:13 +02:00
|
|
|
package universalelectricity.core.block;
|
|
|
|
|
2013-07-27 00:16:21 +02:00
|
|
|
public interface IConductor extends INetworkProvider, INetworkConnection
|
2013-04-13 16:35:13 +02:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Gets the resistance of the conductor. Used to calculate energy loss. A higher resistance
|
|
|
|
* means a higher energy loss.
|
|
|
|
*
|
|
|
|
* @return The amount of resistance in Ohms.
|
|
|
|
*/
|
2013-07-27 00:16:21 +02:00
|
|
|
public float getResistance();
|
2013-04-13 16:35:13 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return The maximum amount of amps this conductor can handle before melting down.
|
|
|
|
*/
|
2013-07-27 00:16:21 +02:00
|
|
|
public float getCurrentCapacity();
|
2013-04-13 16:35:13 +02:00
|
|
|
}
|