Class DynamicLightDefault

java.lang.Object
org.cyclops.integrateddynamics.capability.dynamiclight.DynamicLightDefault
All Implemented Interfaces:
IDynamicLight

public class DynamicLightDefault extends Object implements IDynamicLight
Default implementation of IDynamicLight.
  • 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 interface IDynamicLight
      Parameters:
      level - The light level.
    • getLightLevel

      public int getLightLevel()
      Description copied from interface: IDynamicLight
      Get the light level.
      Specified by:
      getLightLevel in interface IDynamicLight
      Returns:
      The light level.