public final class NominalDifferenceLight extends DifferenceLight<LightableDifference1>
DifferenceLight.Actuator_DL
BODY_ANCHOR, BODY_SCENE, MAX_DIFFS
Constructor and Description |
---|
NominalDifferenceLight(Stage stage,
NominalDifferenceTargeter _targeter)
Creates the single instance of NominalDifferenceLight.
|
Modifier and Type | Method and Description |
---|---|
DifferenceLight.Actuator_DL |
assignActuator(PositionSensor sensor)
Returns a light actuator for the specified sensor, or null if the light is to be
unaffected by the sensor.
|
protected LightableDifference1 |
differenceFor(String personName,
String pollName)
Returns the lightable difference for the specified person and poll, or null if
there is none.
|
protected boolean |
hasDiffLooks()
Answers whether the lightable differences of this light are also difference looks and thus able to be directly staged.
|
static NominalDifferenceLight |
i()
The single instance of NominalDifferenceLight, if there is one.
|
protected void |
run(LightableDifference.Runner<LightableDifference1> runner)
Passes all lightable differences through the specified runner.
|
addStageRelClasses, baseActuator, forceInitClass, init, redirect, removeStageRelClasses, sceneName, sceneRel, setScene, tryCast, voteTrack
NominalDifferenceLight(Stage stage, NominalDifferenceTargeter _targeter)
public static NominalDifferenceLight i()
protected LightableDifference1 differenceFor(String personName, String pollName)
DifferenceLight
differenceFor
in class DifferenceLight<LightableDifference1>
protected boolean hasDiffLooks()
DifferenceLight
hasDiffLooks
in class DifferenceLight<LightableDifference1>
protected void run(LightableDifference.Runner<LightableDifference1> runner)
DifferenceLight
run
in class DifferenceLight<LightableDifference1>
public DifferenceLight.Actuator_DL assignActuator(PositionSensor sensor)
Light
assignActuator
in interface Light<PositionSensor>
assignActuator
in class DifferenceLight<LightableDifference1>