Class DynamicLightDefault
java.lang.Object
org.cyclops.integrateddynamics.capability.dynamiclight.DynamicLightDefault
- All Implemented Interfaces:
IDynamicLight
Default implementation of
IDynamicLight
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the light level.void
setLightLevel
(int level) Set the light level.
-
Constructor Details
-
DynamicLightDefault
public DynamicLightDefault()
-
-
Method Details
-
setLightLevel
public void setLightLevel(int level) Description copied from interface:IDynamicLight
Set the light level.- Specified by:
setLightLevel
in interfaceIDynamicLight
- Parameters:
level
- The light level.
-
getLightLevel
public int getLightLevel()Description copied from interface:IDynamicLight
Get the light level.- Specified by:
getLightLevel
in interfaceIDynamicLight
- Returns:
- The light level.
-