summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-22 16:00:35 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-22 16:29:28 -0500
commitfbfb3ad0f70ebbc5db9e5d5fc41c53c15b082d9d (patch)
treea41968431e016403aa3956bbdc075dd4a2203e1e /game
parentaudio: refactor into seperate crate (diff)
downloadDungeonCrawl-fbfb3ad0f70ebbc5db9e5d5fc41c53c15b082d9d.tar.gz
DungeonCrawl-fbfb3ad0f70ebbc5db9e5d5fc41c53c15b082d9d.tar.bz2
DungeonCrawl-fbfb3ad0f70ebbc5db9e5d5fc41c53c15b082d9d.zip
audio: some changes
Diffstat (limited to 'game')
-rw-r--r--game/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/game/src/lib.rs b/game/src/lib.rs
index 4572d8e..f20ece2 100644
--- a/game/src/lib.rs
+++ b/game/src/lib.rs
@@ -79,6 +79,9 @@ impl Game {
}
pub fn run(&mut self) {
+ // debug music
+ self.window.audio().data.explore.play();
+
// Main game loop
while self.window.is_open() {
// Handle debug keys