Class GardenView
Object
GardenView
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
scanner
-
-
Constructor Details
-
GardenView
public GardenView()
-
-
Method Details
-
printMenu
public void printMenu()Prints menu with user options -
getRow
public int getRow()Asks user for which row they want to use -
input
Prints a question to the screen then asks user for input- Parameters:
question
- Question to be printed to the screen- Returns:
- String - user input
-
getAction
Asks user for next action- Returns:
- String - next action
-