Modifier and Type | Field and Description |
---|---|
private InventorySet |
inventory |
private Record |
oldvalue |
private Video |
video |
Constructor and Description |
---|
CmdIn(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
CmdIn(InventorySet inventory, Video video)