add audio_manager and code refactoring

This commit is contained in:
2026-04-16 15:35:05 +02:00
parent 2508ac96fa
commit cf285153cf
53 changed files with 303 additions and 46 deletions

View File

@@ -10,7 +10,6 @@ func _ready():
func play_track(index: int = current_track_index):
if playlist.is_empty():
push_warning("Playlist is empty")
return
current_track_index = posmod(index, playlist.size())