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