class

PointClickEngine::Audio::AmbientSoundManager

Inherits Reference < Object

Stub ambient sound manager (no audio)

Constructors

Instance methods

cleanup
Source
current_room_ambience
current_room_ambience=(current_room_ambience : String | Nil)
get_playing_sounds
Source
global_volume
global_volume=(global_volume : Float32)
is_playing?(name : String) : Bool
Source
listener_position
listener_position=(listener_position : RL::Vector2)
play_sound(name : String, volume : Float32 | Nil = nil)
Source
register_sound(config : AmbientSoundConfig)
Source
set_global_volume(volume : Float32)
Source
set_listener_position(position : RL::Vector2)
Source
set_room_ambience(ambience_name : String, fade_duration : Float32 = 2.0_f32)
Source
sounds
sounds=(sounds : Hash(String, AmbientSound))
stop_all(immediate : Bool = false)
Source
stop_room_ambience(fade_duration : Float32 = 2.0_f32)
Source
stop_sound(name : String, immediate : Bool = false)
Source
update(dt : Float32)
Source