public class CeilingFanLowCommand extends java.lang.Object implements Command
Modifier and Type | Field and Description |
---|---|
(package private) CeilingFan |
ceilingFan |
(package private) int |
prevSpeed |
Constructor and Description |
---|
CeilingFanLowCommand(CeilingFan ceilingFan) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
undo() |
CeilingFan ceilingFan
int prevSpeed
public CeilingFanLowCommand(CeilingFan ceilingFan)