Is your feature request related to a problem? Please describe.
Currently, the Zen Bar consists out of two SFML RectangleShapes. Because the Zen Bar is more than just two RectangleShapes, I suggest to put it into a seperate class. A future Issue will showcase another example to do so.
Describe the solution you'd like
Move everything related to the Zen Bar to a seperate class called sfml_zen1-bar with two member functions: set_score and display. There is a reason I request two instead of one member functions. Yes, it should store the last score set.
Is your feature request related to a problem? Please describe.
Currently, the Zen Bar consists out of two SFML RectangleShapes. Because the Zen Bar is more than just two RectangleShapes, I suggest to put it into a seperate class. A future Issue will showcase another example to do so.
Describe the solution you'd like
Move everything related to the Zen Bar to a seperate class called
sfml_zen1-bar
with two member functions:set_score
anddisplay
. There is a reason I request two instead of one member functions. Yes, it should store the last score set.Describe alternatives you've considered
None.
Additional context
This Issue will allow for a follow-up Issue