(&self, index: usize)
| 240 | self.choices.get(name) |
| 241 | } |
| 242 | |
| 243 | pub(crate) fn get_bgm(&self, index: usize) -> Option<(&usize, &String)> { |
| 244 | self.bgm.range(..=index).next_back() |
| 245 | } |
| 246 | |
| 247 | pub(crate) fn get_background(&self, index: usize) -> Option<(&usize, &Command)> { |