Package src.view
Class MovieScheduleView
Object
MovieScheduleView
View for movie goer to view the schedules of the movie for its type
- Version:
- 1.0
- Author:
- Yeek Sheng, Jerick
-
Constructor Summary
ConstructorDescriptionMovieScheduleView
(ArrayList<Cinema> cinemaList, Movie movie, MovieGoer movieGoer) Creates a new MovieScheduleView with ArrayList of cinemas, movie, moviegoer Stores the index of the showingVenues that match the list of cinemas showing the movie and its type -
Method Summary
Modifier and TypeMethodDescriptionvoid
Method to call printMenu and takes in the choice of the user to display the seatingPlanView using the showingTime chosen by the user at that cinemaboolean
Method to print the boiler plate and calls printShowingTimesboolean
Method to print out the showingTimes of the movie if it is bookable
-
Constructor Details
-
MovieScheduleView
Creates a new MovieScheduleView with ArrayList of cinemas, movie, moviegoer Stores the index of the showingVenues that match the list of cinemas showing the movie and its type
-
-
Method Details
-
printShowingTimes
public boolean printShowingTimes()Method to print out the showingTimes of the movie if it is bookable- Returns:
- if the movie is available for booking or not
-
printMenu
public boolean printMenu()Method to print the boiler plate and calls printShowingTimes- Returns:
- if the movie is available for booking or not
-
appContent
public void appContent()Method to call printMenu and takes in the choice of the user to display the seatingPlanView using the showingTime chosen by the user at that cinema
-