verticopolis_engine/rules/films.rs
1//! The theater rule Modern adds for screens (#1950), kept beside the other
2//! mode rules on [`GameMode`].
3use crate::clock::GameMode;
4
5impl GameMode {
6 /// How many screens a movie theater runs, each with its own film
7 /// (#1950). SimTower's theater shows one film; a Modern theater's two
8 /// floors are two screens with half the seats each.
9 pub fn cinema_screens(self) -> usize {
10 match self {
11 GameMode::Classic => 1,
12 GameMode::Modern => 2,
13 }
14 }
15}