mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-20 03:59:38 +00:00
- Added documentation to some classes - Started working on tutorial and website
22 lines
337 B
Java
22 lines
337 B
Java
package minetweaker;
|
|
|
|
/**
|
|
* Base implementation for a non-undoable action.
|
|
*
|
|
* @author Stan Hebben
|
|
*/
|
|
public abstract class OneWayAction implements IUndoableAction {
|
|
@Override
|
|
public boolean canUndo() {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public void undo() {}
|
|
|
|
@Override
|
|
public String describeUndo() {
|
|
return "impossibru!";
|
|
}
|
|
}
|