PointClickEngine::Audio::CharacterFootsteps
Inherits Reference < Object
Individual character footstep state
Constructors
new(character : Characters::Character)
SourceInstance methods
accumulated_distance
Sourceaccumulated_distance=(accumulated_distance : Float32)
Sourcecharacter
Sourcecharacter=(character : Characters::Character)
Sourcecurrent_surface
Sourcecurrent_surface=(current_surface : SurfaceType)
Sourcelast_position
Sourcelast_position=(last_position : RL::Vector2)
Sourcemoving
Sourcemoving=(moving : Bool)
Sourceset_surface(surface : SurfaceType)
Sourcestep_distance_threshold
Sourcestep_distance_threshold=(step_distance_threshold : Float32)
Sourcestep_timer
Sourcestep_timer=(step_timer : Float32)
Sourceupdate(dt : Float32, footstep_system : FootstepSystem)
Source