resonant-induction/archive/java/resonantinduction/core/tilenetwork/INetworkContainer.java
2014-01-11 17:44:07 +08:00

22 lines
734 B
Java

package resonantinduction.core.tilenetwork;
/**
* Used on tiles that can contain more than one tile network. Currently WIP so don't use unless you
* know what your doing. When using this use networks like items and store them in slots.
*
* @author DarkGuardsman
*/
public interface INetworkContainer
{
/**
* Gets a list of all networks slots and their connected networks. Used both to see the max
* limit of networks this tile may contain, and if there are networks currently in use
*/
public ITileNetwork[] getContainedNetworks();
/** Sets the network in the given slot */
public boolean setNetwork(int slot, ITileNetwork network);
/** Gets the network in the slot */
public ITileNetwork getNetwork(int slot);
}