Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+20 votes
asked in CSC305 Fall 2022 by (1 point)

We have it pretty similar to drawing app, however made the stack contain the map data of the previous verison of the map so that certain features like select and deselect aren't stored as undoable actions.

3 Answers

+12 votes

We have a mostly working one right now, we made a new class for it including the stacks of the data, almost similar to drawing app.

answered by (2.4k points)
+11 votes

My group made used the same logic as in the undo redo handler in drawing app. But we removed everything GUI related. And redrew the map after the undo was called.

answered by (1 point)
+5 votes

The Undo Redo functionality is almost similar to the one used in the drawing App.

answered by (1 point)