|
@@ -1,6 +1,14 @@
|
|
package Algorithms.Animated;
|
|
package Algorithms.Animated;
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * An action that reverts another Action.
|
|
|
|
+ * For example this is used to go one step backwards in the node placement algorithm.
|
|
|
|
+ * @author kolja
|
|
|
|
+ *
|
|
|
|
+ */
|
|
public interface BackwardAction {
|
|
public interface BackwardAction {
|
|
-
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Undo another action.
|
|
|
|
+ */
|
|
public void reverse();
|
|
public void reverse();
|
|
}
|
|
}
|