nsmryan / RustRoguelike

This Rust Roguelike is a Roguelike written in Rust.
17 stars 3 forks source link

Types.rs heard_sound function #428

Closed nsmryan closed 2 years ago

nsmryan commented 2 years ago

The heard_sound function should really look backwards through messages for the last heard sound.

Another idea is to keep only one heard sound around at all times.

Currently sounds can override each other (even if I made this change) so that only the first or last sound is actually processed.