Music (gb.sdl.sound)
This static class allows you to manage the music track.
This class is static.
Constants
Paused
|
Indicate that the music is paused.
|
Playing
|
Indicate that the music is playing.
|
Stopped
|
Indicate that the music is stopped.
|
Static properties
Pos
|
Sets or returns the current time position of the music track.
|
State
|
Return the state of the music as one of the following constant:
|
Volume
|
Returns or sets the volume of the music track.
|
Static methods
Load
|
Specifies the file used for playing the music track.
|
Pause
|
Pauses the music.
|
Play
|
Start playing the music with an optional fade-in.
|
Stop
|
Stop the music with an optional fade-out.
|