public static void Redo()
        {
            UndoableAction cmd = Instance.removeFromRedo();

            cmd.Execute();
            Instance.addToUndo(cmd);
        }
 public static void Execute(UndoableAction cmd)
 {
     cmd.Execute();
     Instance.addToUndo(cmd);
 }