final class DartLight extends Object implements Light<NodeV.Sensor>
Constructor and Description |
---|
DartLight()
Creates the single instance of DartLight.
|
Modifier and Type | Method and Description |
---|---|
Actuator<NodeV.Sensor> |
assignActuator(NodeV.Sensor sensor)
Returns a light actuator for the specified sensor, or null if the light is to be
unaffected by the sensor.
|
(package private) static DartLight |
i()
The single instance of DartLight.
|
NodeV.Sensor |
tryCast(Sensor sensor)
Returns the sensor cast to the type covered by this light, or null if the sensor is of
some other type.
|
DartLight()
public Actuator<NodeV.Sensor> assignActuator(NodeV.Sensor sensor)
Light
assignActuator
in interface Light<NodeV.Sensor>
public final NodeV.Sensor tryCast(Sensor sensor)
Light
tryCast
in interface Light<NodeV.Sensor>