Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add minimal menu state #4

Open
leftiness opened this issue Jan 26, 2018 · 0 comments
Open

Add minimal menu state #4

leftiness opened this issue Jan 26, 2018 · 0 comments

Comments

@leftiness
Copy link
Owner

leftiness commented Jan 26, 2018

Todo

  • Entity.Menu
    • holds a list of Entity.Text menu items?
    • has menu origin x/y
    • has active menu item index
  • Title screen's Entity.Menu currently has two menu items: play, quit
  • Title screen has a big Entity.Text for the title
  • State.Title
    • comes after State.Boot
    • puts all this title menu stuff on the screen
    • background white, text black
  • System.Menu tracks Entity.Menu, increment/decrement active menu item index, listen for keyboard input?

// still wip

how does menu selection work
menu needs to capture input somehow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant