public class DimmerLightOnCommand extends java.lang.Object implements Command
Modifier and Type | Field and Description |
---|---|
(package private) Light |
light |
(package private) int |
prevLevel |
Constructor and Description |
---|
DimmerLightOnCommand(Light light) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
undo() |