Closed voylin closed 9 months ago
This is a very simple undo/redo system. Basically anything which needs to be able to be undone/redone, needs to be called through the ActionHandler.
This will need work in the future as this is probably not the best nor most performant way of handling this. But good enough for now.
I'll leave this as a PR for a bit to see if people have any comments/suggestions/improvements on this.
May I ask what does "al" stands for in al_action_handler.gd?
al_action_handler.gd
al = autoload I do this to make it easier to see when I'm inside on an autoload or not.
This is a very simple undo/redo system. Basically anything which needs to be able to be undone/redone, needs to be called through the ActionHandler.
This will need work in the future as this is probably not the best nor most performant way of handling this. But good enough for now.
I'll leave this as a PR for a bit to see if people have any comments/suggestions/improvements on this.