Package src.view
Class MovieTypeView
View for movie goer to view the different movie types for the movie title
- Version:
- 1.0
- Author:
- Yeek Sheng, Jerick
-
Constructor Summary
ConstructorsConstructorDescriptionMovieTypeView(String movieTitle, MovieGoer movieGoer) Creates a MovieTypeView with the movieTitle and the movieGoer -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod to call printMenu and accept user choice if the movie is available Creates a CineplexView based on the movieType chosenvoidMethod to print boiler plate and calls printMovieTypevoidMethod to print the movie type matching the movieTitle and calls printMenuContentMethods inherited from class MainView
printBoilerPlate, printMenuContent
-
Constructor Details
-
MovieTypeView
Creates a MovieTypeView with the movieTitle and the movieGoer- Parameters:
movieTitle- title of the movie chosenmovieGoer- movieGoer accessing the viewMovieGoer
-
-
Method Details
-
printMovieType
public void printMovieType()Method to print the movie type matching the movieTitle and calls printMenuContent -
printMenu
public void printMenu()Method to print boiler plate and calls printMovieType -
appContent
public void appContent()Method to call printMenu and accept user choice if the movie is available Creates a CineplexView based on the movieType chosen- Specified by:
appContentin classMainView
-