static void PopulateMovies(Theater theater) { //Make Movies Movie IT = new Movie("IT", "Clowns are Scary"); Movie WeddingSinger = new Movie("The Wedding Singer", "Adam Sandler hahaha!"); Movie JurassicPark = new Movie("Jurassic Park", "Dinosaurs Are Awesome!"); //Made Showtimes IT.addShowtime("10:00", 5.99f, 100); IT.addShowtime("12:00", 5.99f, 100); IT.addShowtime("2:00", 5.99f, 100); WeddingSinger.addShowtime("10:00", 5.99f, 100); WeddingSinger.addShowtime("12:00", 5.99f, 100); WeddingSinger.addShowtime("2:00", 5.99f, 100); JurassicPark.addShowtime("10:00", 5.99f, 100); JurassicPark.addShowtime("12:00", 5.99f, 100); JurassicPark.addShowtime("2:00", 5.99f, 100); theater.addMovie(IT); theater.addMovie(WeddingSinger); theater.addMovie(JurassicPark); }
public FoodMenu(Theater theater) { CurrentTheater = theater; }
public RootMenu(Theater theater) { CurrentTheater = theater; }
public MovieMenu(Theater theater) { CurrentTheater = theater; }
public ShowtimeMenu(Theater theater, Movie movie) { CurrentTheater = theater; CurrentMovie = movie; }