You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The InputReceiver class should offer a static int method, getOptionFromChoices(String[] menu). This method will output a list of the menu, handle user input within the bounds of the options and return the inputted choice.
For example, passing ["See all reminders", "Toggle reminder", "Create reminder", "Delete reminder"] will output the list:
See all reminders
Toggle reminder
Create reminder
Delete reminder
For that input, it will ignore input outside of the choices 1, 2, 3 or 4.
This class will be used inside of SanteMenu. See #46.
The text was updated successfully, but these errors were encountered:
The
InputReceiver
class should offer a static int method,getOptionFromChoices(String[] menu)
. This method will output a list of the menu, handle user input within the bounds of the options and return the inputted choice.For example, passing ["See all reminders", "Toggle reminder", "Create reminder", "Delete reminder"] will output the list:
For that input, it will ignore input outside of the choices 1, 2, 3 or 4.
This class will be used inside of
SanteMenu
. See #46.The text was updated successfully, but these errors were encountered: