Package src.view
Class MovieMenuView
Object
MovieMenuView
View for movie goer after successful login or register
- Version:
- 1.0
- Author:
- Yeek Sheng, Jerick
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
Static variable to return to MovieMenuView after successful payment -
Constructor Summary
ConstructorDescriptionMovieMenuView
(MovieGoer movieGoer) Creates a new MovieMenuView with the movieGoer Constructs the MovieListView -
Method Summary
Modifier and TypeMethodDescriptionvoid
Method to take in the choice of the user and creates a corresponding view Available choices for MovieListView, MovieSearchView, MovieBookingHistoryView, MovieListRankingView Sets exit boolean to false if it is truevoid
Method to print the boiler plate and displays the choices of the user
-
Field Details
-
exit
public static boolean exitStatic variable to return to MovieMenuView after successful payment
-
-
Constructor Details
-
MovieMenuView
Creates a new MovieMenuView with the movieGoer Constructs the MovieListView- Parameters:
movieGoer
- movieGoer accessing the viewMovieGoer
-
-
Method Details
-
printMenu
public void printMenu()Method to print the boiler plate and displays the choices of the user -
appContent
public void appContent()Method to take in the choice of the user and creates a corresponding view Available choices for MovieListView, MovieSearchView, MovieBookingHistoryView, MovieListRankingView Sets exit boolean to false if it is true
-