Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: menu design  (Read 1434 times)

0 Members and 1 Guest are viewing this topic.

lorence30

  • Full Member
  • ***
  • Posts: 124
    • View Profile
    • Email
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 »

Mortal

  • Sr. Member
  • ****
  • Posts: 284
    • View Profile
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.