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