feat(nav): add GameState.set_current_room and AudioManager.DEFAULT_MUSIC_VOLUME

This commit is contained in:
Steven Wroblewski
2026-05-10 20:53:25 +02:00
parent 43a7e6bde4
commit c2edaf2761
4 changed files with 23 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@
extends Node
const CROSSFADE_DURATION: float = 0.8
const DEFAULT_MUSIC_VOLUME: float = 0.6
const _MUSIC_MAP: Dictionary = {
0: "res://assets/audio/music/floor_0.ogg",
+5
View File
@@ -73,6 +73,11 @@ func clear_chest_state(chest_id: String) -> void:
state_changed.emit()
func set_current_room(room: String) -> void:
current_room = room
state_changed.emit()
func get_save_data() -> Dictionary:
var positions: Dictionary = {}
for key: String in _character_positions: