Class RecordedAction
java.lang.Object
com.pixelmonmod.pixelmon.client.gui.pc.RecordedAction
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionRecordedAction
(List<StoragePosition> positionsBefore, List<StoragePosition> positionsAfter, BiFunction<List<StoragePosition>, List<StoragePosition>, Boolean> undoFn, BiFunction<List<StoragePosition>, List<StoragePosition>, Boolean> redoFn) -
Method Summary
-
Field Details
-
undoFn
-
redoFn
-
-
Constructor Details
-
RecordedAction
public RecordedAction(List<StoragePosition> positionsBefore, List<StoragePosition> positionsAfter, BiFunction<List<StoragePosition>, List<StoragePosition>, Boolean> undoFn, BiFunction<List<StoragePosition>, List<StoragePosition>, Boolean> redoFn)
-
-
Method Details
-
undo
public boolean undo() -
redo
public boolean redo()
-