Music (gb.sdl.sound)
This static class allows you to manage the music track.
该类是静态类。
常数
Paused
|
Indicate that the music is paused.
|
Playing
|
Indicate that the music is playing.
|
Stopped
|
Indicate that the music is stopped.
|
静态属性
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.
|
静态方法
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.
|