Skip to content
Snippets Groups Projects
Commit 850a5b46 authored by Florian Schröder's avatar Florian Schröder
Browse files

Add reset_button state changes in overcooked_gui

The commit incorporates the state changes for the 'reset_button' in different scenarios in the overcooked_gui.py file. The reset button is now configured to either show or hide during particular instances of the game, enhancing the user interaction by providing clearer game state transitions.
parent fe277e48
No related branches found
No related tags found
1 merge request!35Resolve "Drawing order of counters and things on top"
Pipeline #44911 passed
......@@ -393,6 +393,7 @@ class PyGameGUI:
self.back_button.hide()
self.quit_button.show()
self.start_button.show()
self.reset_button.hide()
self.score_label.hide()
self.finished_button.hide()
self.layout_selection.show()
......@@ -403,6 +404,7 @@ class PyGameGUI:
self.start_button.hide()
self.back_button.hide()
self.score_label.show()
self.reset_button.show()
self.score_label.show()
self.finished_button.show()
self.layout_selection.hide()
......@@ -413,6 +415,7 @@ class PyGameGUI:
self.start_button.hide()
self.back_button.show()
self.score_label.hide()
self.reset_button.hide()
self.finished_button.hide()
self.layout_selection.hide()
self.timer_label.hide()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment