public interface Actuator<S extends Sensor>
Light ← Actuator → SensorOne purpose of this arrangement is to speed light direction by having the actuator pre-construct the directional data for its sensor and cache it for repeated use. Where this optimization is not required, the implementation of the actuator may be folded into the light, a single instance for all sensors:
(Light, Actuator) → Sensor
Modifier and Type | Method and Description |
---|---|
void |
changed(S sensor)
Responds to a change in the sensor's properties.
|
Light<S> |
light()
The stage light that is directed.
|
void |
out(S sensor)
Responds to the user's point leaving the sensor.
|
void |
over(S sensor)
Responds to the user's point entering the sensor.
|