let mut cinema_experience = movietheater::new(); while cinema_experience.is_open() { cinema_experience.add_show(show::new("mysterious journey")); if cinema_experience.needs_refresh() { cinema_experience.reset_to_opening(); println!("it's like going back to the beginning with a sense of mystery!"); } cinema_experience.set_directive(directive::mock("enjoy the movie above all!")); }