class

PointClickEngine::Audio::SoundEffect

Inherits Reference < Object

Sound effect class for individual sound playback

Constructors

new(name : String, file_path : String)
Source

Instance methods

cleanup

Explicit cleanup - do NOT use finalizer as it causes GC deadlocks with Raylib

Source
name
Source
name=(name : String)
Source
play
Source
sound
Source
sound=(sound : RAudio::Sound | Nil)
Source
stop
Source
volume
Source
volume=(volume : Float32)
Source