Package src.view
Class MovieBookingHistoryView
View for movie goer to access their movie booking history
- Version:
- 1.0
- Author:
- Yeek Sheng
-
Constructor Summary
ConstructorDescriptionMovieBookingHistoryView
(MovieGoer movieGoer) Creates a new MovieBookingHistoryView with the movieGoer attributes -
Method Summary
Modifier and TypeMethodDescriptionvoid
Method to take in choice of user and prints the particular movie ticket using MovieTicketViewvoid
Method to print the booking history of the movieGoer from an ArrayListvoid
Method to print the boiler plate and calls printBookingHistoriesMethods inherited from class MainView
printBoilerPlate, printMenuContent
-
Constructor Details
-
MovieBookingHistoryView
Creates a new MovieBookingHistoryView with the movieGoer attributes- Parameters:
movieGoer
- movieGoer accessing the viewMovieGoer
-
-
Method Details
-
printBookingHistories
public void printBookingHistories()Method to print the booking history of the movieGoer from an ArrayList -
printMenu
public void printMenu()Method to print the boiler plate and calls printBookingHistories -
appContent
public void appContent()Method to take in choice of user and prints the particular movie ticket using MovieTicketView- Specified by:
appContent
in classMainView
-