first stage of undo/redo functionality -- there are still a number of actions that...
[potlatch2.git] / net / systemeD / halcyon / connection / UndoableAction.as
1 package net.systemeD.halcyon.connection {
2
3     public class UndoableAction {
4     
5         public static const FAIL:uint = 0;
6         public static const SUCCESS:uint = 1;
7         public static const NO_CHANGE:uint = 2; 
8     
9         public function doAction():uint { return FAIL; }
10         
11         public function undoAction():uint { return FAIL; }
12         
13         public function mergePrevious(previous:UndoableAction):Boolean {
14             return false;
15         }
16     }
17     
18 }