Package com.sk89q.worldedit.history
Class UndoContext
java.lang.Object
com.sk89q.worldedit.history.UndoContext
Provides context for undo and redo operations.
For example, BlockChange
s take the Extent
from the
context rather than store a reference to one.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
UndoContext
public UndoContext()
-
-
Method Details
-
getExtent
Get the extent set on this context.- Returns:
- an extent or null
-
setExtent
Set the extent on this context.- Parameters:
extent
- an extent or null
-