Class NetworkCarrierDefault
java.lang.Object
org.cyclops.integrateddynamics.capability.network.NetworkCarrierDefault
- All Implemented Interfaces:
INetworkCarrier
Default implementation of
INetworkCarrier.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the current container network.voidsetNetwork(INetwork network) Tell the container it is part of the given network.
-
Constructor Details
-
NetworkCarrierDefault
public NetworkCarrierDefault()
-
-
Method Details
-
setNetwork
Description copied from interface:INetworkCarrierTell the container it is part of the given network.- Specified by:
setNetworkin interfaceINetworkCarrier- Parameters:
network- The network.
-
getNetwork
Description copied from interface:INetworkCarrierGet the current container network. Can be null.- Specified by:
getNetworkin interfaceINetworkCarrier- Returns:
- The network.
-