Package src.view

Class MovieTypeView

Object
MainView
MovieTypeView

public class MovieTypeView extends MainView
View for movie goer to view the different movie types for the movie title
Version:
1.0
Author:
Yeek Sheng, Jerick
  • Constructor Details

    • MovieTypeView

      public MovieTypeView(String movieTitle, MovieGoer movieGoer)
      Creates a MovieTypeView with the movieTitle and the movieGoer
      Parameters:
      movieTitle - title of the movie chosen
      movieGoer - movieGoer accessing the view MovieGoer
  • 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
      Specified by:
      printMenu in class MainView
    • 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:
      appContent in class MainView