Skip to content

Undo Redo System

zeynebGueven edited this page Jan 29, 2023 · 6 revisions

The Undo-Redo-System is a tool that can be used to undo and redo various actions. The actions that are currently supported are the following:

The system can be extended by implementing a command for any function of the project (for developers).

The Undo-Redo-Menu can be accessed in the Main Menu.

Screenshot 2023-01-29 011400

By pressing the “Follow Me” button, the button following the player can be toggled on or off. For undoing and redoing actions you can press the “Undo” and “Redo” buttons which will indicate by their grey color if there is no action to be undone or redone.

image

The “History” button opens a new menu - the Undo-History menu. This menu displays the history of the actions that have been executed through which can be scrolled via the “Up” and “Down” buttons. In order to follow where the current state is, the correspondent action is changed to a blue color. Additionally, by pressing the square buttons on the left side of the menu the associated state is restored. Just like the Undo-Redo-Menu, the “Follow Me” behavior can be toggled.

image

Clone this wiki locally