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