(function(){ UndoStack.register([ { type: "create-scenery", undo: function(state){ }, redo: function(state){ }, }, { type: "update-scenery", undo: function(state){ }, redo: function(state){ }, }, { type: "destroy-scenery", undo: function(state){ }, redo: function(state){ }, }, // { type: "create-rectangle", undo: function(state){ }, redo: function(state){ }, }, { type: "update-rectangle", undo: function(state){ }, redo: function(state){ }, }, { type: "destroy-rectangle", undo: function(state){ }, redo: function(state){ }, }, // { type: "update-wallpaper", undo: function(state){ }, redo: function(state){ }, }, ]) })()