Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
menu design
Print
Pages: [
1
]
Author
Topic: menu design (Read 1435 times)
0 Members and 1 Guest are viewing this topic.
lorence30
Full Member
Posts: 124
menu design
«
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.
«
Last Edit: July 06, 2016, 01:48:12 pm by lorence30
»
Logged
Mortal
Sr. Member
Posts: 284
Re: menu design
«
Reply #1 on:
July 06, 2016, 07:08:53 pm »
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.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
menu design