Mercurial > touhou
diff src/th06/enemy.rs @ 692:a35df65e0d57
ecl_vm: stub PlaySound.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 17 Aug 2019 14:09:39 +0200 |
parents | eecb8626f472 |
children | 14fddc27e6f5 |
line wrap: on
line diff
--- a/src/th06/enemy.rs +++ b/src/th06/enemy.rs @@ -359,6 +359,11 @@ impl Enemy { } } + /// Stubbed for now. + pub(crate) fn play_sound(&self, sound_index: i32) { + println!("Playing sound {}!", sound_index); + } + /// Run all interpolators and such, and update internal variables once per /// frame. pub fn update(&mut self) {