SFML community forums
Help => General => Topic started by: lorence30 on July 06, 2016, 01:45:37 pm
-
hi guys, i wonder what would be the best design for menu.
my menu will have
-START
-DIFFICULTY
-EXIT
take a look at my class: http://pastebin.com/WwhUCFn0
i dont know if this will be a good class design for my menu
I EDITED THE LINK PLEASE LOOK AGAIN.
-
the most common design is a state machine which is simply a stack to pop or push different state. from your menu the states will be START, DIFFICULTY and EXIT respectively.