PointClickEngine::Audio::FootstepSystem
Inherits Reference < Object
Main footstep system
Constructors
new
SourceInstance methods
character_footsteps
Sourcecharacter_footsteps=(character_footsteps : Hash(String, CharacterFootsteps))
Sourcedetect_surface_at_position(position : RL::Vector2) : SurfaceType
Detect surface type at position
enabled
Sourceenabled=(enabled : Bool)
Sourceglobal_volume
Sourceglobal_volume=(global_volume : Float32)
Sourceloaded_sounds
loaded_sounds=(loaded_sounds : Hash(String, String))
play_footstep(character : Characters::Character, surface : SurfaceType)
Play footstep sound for character
register_character(character : Characters::Character)
Register a character for footstep tracking
setup_room_surfaces(room_bounds : RL::Rectangle, primary_surface : SurfaceType)
Add convenience method for common room setup
surface_areas
Sourcesurface_areas=(surface_areas : Array(SurfaceArea))
Sourcesurface_configs
Sourcesurface_configs=(surface_configs : Hash(SurfaceType, FootstepConfig))
Source