예제 #1
0
        public static void Redo()
        {
            UndoableAction cmd = Instance.removeFromRedo();

            cmd.Execute();
            Instance.addToUndo(cmd);
        }
예제 #2
0
 public static void Execute(UndoableAction cmd)
 {
     cmd.Execute();
     Instance.addToUndo(cmd);
 }