Module baal::music [] [src]

this module allow to play music

Enums

MusicStatus

the status of the music

MusicTransition

the type of transition between musics

Functions

index

return the index of the current music if any

is_paused

return whereas music is paused

is_stopped

return whereas music is stopped

pause

pause the music

play

play the music

play_or_continue

play the music if is different from the current one

resume

resume the music

set_transition

set the type of transition between musics

set_volume

set the volume of the music the actual music volume is music_volume * global_volume

stop

stop the music

transition

return the current type of transition

volume

return the volume of the music