Package entity.actuator
Class DimmableActuator
java.lang.Object
entity.actuator.Actuator
entity.actuator.DimmableActuator
An
Actuator
that can be dimmed.-
Constructor Summary
ConstructorDescriptionDimmableActuator
(ActuatorID actuatorID, ActuatorType actuatorType) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setIntensity
(int intensity, DimmableInvoker invoker) Set the intensity of the actuator.Methods inherited from class entity.actuator.Actuator
equals, getActuatorType, getId, hashCode
-
Constructor Details
-
DimmableActuator
Default constructor.- Parameters:
actuatorID
- the actuator id.actuatorType
- the actuator type.
-
-
Method Details
-
setIntensity
Set the intensity of the actuator.- Parameters:
intensity
- the intensity.invoker
- the invoker to call
-