VedVid / RAWIG

RAWIG (Roguelike Architecture, Written In Go) is ready to modify and expand roguelike architecture.
BSD 2-Clause "Simplified" License
16 stars 3 forks source link

Merge all "SomethingMenu" functions into one, general one #69

Closed VedVid closed 5 years ago

VedVid commented 5 years ago

It is full of unintended code duplications. ...Menu works all the same all the time, it could just use different arguments.

get slice of something (inventory, equipment, game options, etc), then use that list to print menu, then handle input (check if input is not out of slice bounds, then call specific function)

VedVid commented 5 years ago

UI is messy enough to stop me from tinkering with it again. For now, at least...