Constructor and Description |
---|
EntityRemove(Location location,
BaseEntity state)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
redo(UndoContext context)
Perform an redo.
|
void |
undo(UndoContext context)
Perform an undo.
|
public EntityRemove(Location location, BaseEntity state)
location
- the locationstate
- the state of the created entitypublic void undo(UndoContext context) throws WorldEditException
Change
ChangeSet.forwardIterator()
.undo
in interface Change
context
- a context for undoWorldEditException
- on an errorpublic void redo(UndoContext context) throws WorldEditException
Change
ChangeSet.backwardIterator()
()}.redo
in interface Change
context
- a context for redoWorldEditException
- on an error