public class ChangeColorEvent extends LightEvent
| Constructor and Description |
|---|
ChangeColorEvent(Lights lights,
MilightColor color)
This constructor creates a new ChangeColorEvent referencing to a group of
light that was switched to a new color.
|
| Modifier and Type | Method and Description |
|---|---|
MilightColor |
getColor()
This function returns the new color for the group of lights.
|
public ChangeColorEvent(Lights lights, MilightColor color)
lights - is the group of lights that was switched to white modecolor - is the new colorpublic MilightColor getColor()