mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-22 17:45:09 -07:00
undo() and redo() were mirror images that differed only in which stack was the source. Both now delegate to a single restoreAndSwap(source, target, deck) helper, so the save-current- state, apply-memento and signal-emission logic lives in one place. Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> |
||
|---|---|---|
| .. | ||
| tree | ||
| deck_list.cpp | ||
| deck_list.h | ||
| deck_list_history_manager.cpp | ||
| deck_list_history_manager.h | ||
| deck_list_memento.h | ||
| deck_list_node_tree.cpp | ||
| deck_list_node_tree.h | ||
| playmat_resolver.cpp | ||
| playmat_resolver.h | ||
| sideboard_plan.cpp | ||
| sideboard_plan.h | ||