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