Package src.view

Class MovieBookingHistoryView

Object
MainView
MovieBookingHistoryView

public class MovieBookingHistoryView extends MainView
View for movie goer to access their movie booking history
Version:
1.0
Author:
Yeek Sheng
  • Constructor Details

    • MovieBookingHistoryView

      public MovieBookingHistoryView(MovieGoer movieGoer)
      Creates a new MovieBookingHistoryView with the movieGoer attributes
      Parameters:
      movieGoer - movieGoer accessing the view MovieGoer
  • 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
      Specified by:
      printMenu in class MainView
    • appContent

      public void appContent()
      Method to take in choice of user and prints the particular movie ticket using MovieTicketView
      Specified by:
      appContent in class MainView