richelbilderbeek / djog_unos_2018

Project by the Uno's at DJOG 2018-2019: Nature Zen
GNU General Public License v3.0
6 stars 2 forks source link

Create class sfml_zen_bar #492

Closed richelbilderbeek closed 5 years ago

richelbilderbeek commented 5 years ago

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.

Describe alternatives you've considered

None.

Additional context

This Issue will allow for a follow-up Issue