Modifier and Type | Field and Description |
---|---|
private InventorySet |
inventory |
private Record |
oldvalue |
private Video |
video |
Constructor and Description |
---|
CmdOut(InventorySet inventory,
Video video) |
Modifier and Type | Method and Description |
---|---|
void |
redo()
Redo the command.
|
boolean |
run()
Do the command.
|
void |
undo()
Undo the command.
|
private InventorySet inventory
CmdOut(InventorySet inventory, Video video)