diff --git a/src/systems/monster_ai.rs b/src/systems/monster_ai.rs index 6d79e5f..e7f5906 100644 --- a/src/systems/monster_ai.rs +++ b/src/systems/monster_ai.rs @@ -67,7 +67,10 @@ pub fn run(world: &mut World, resources: &mut Resources) { match tile { TileType::Wall => {} TileType::Block => { - // TODO: Sound + resources.sound_output.play_sound(sound_effect_for_kind( + monster.kind, + &resources.sound_effects, + )); *tile = TileType::Floor; has_died = Some(entity); }