public class SwitchOnEvent extends LightEvent
| Constructor and Description |
|---|
SwitchOnEvent(Lights lights)
This constructor creates a new SwitchOnEvent referencing to a group of
light that was switched on.
|
public SwitchOnEvent(Lights lights)
lights - is the group of lights that was switched on