issues
search
tyoeer
/
Chaoshead
A level editor, scripting interface, campaign editor, and reverse engineering tool for Levelhead
Apache License 2.0
4
stars
1
forks
source link
Undo/redo
#40
Open
tyoeer
opened
1 year ago
tyoeer
commented
1 year ago
[ ] Have an event for every editor action
[ ] When an action occurs, save necessary state before execution, and throw the event on the undo stack
[ ] When undoing, revert using saved info, throw event on redo stack (with necessary info for redo)
[ ] Redo stack gets cleared when an action occurs