[This is preliminary documentation and is subject to change.]
The MusicPlayer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MusicPlayer |
Constructor that initializes irrKlang 2D music player
|
Methods
Name | Description | |
---|---|---|
destroyPlayer |
Stops the player and removes it from memory
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
isPaused |
Checks to see whether the current song is paused or not
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnSoundStopped |
The event handler for when the music engine stops playing a sound
| |
pauseUnpauseSong |
Pauses or unpauses a song
| |
playCurrSong |
Plays given song
| |
setVolume |
Changes the volume of the song playing
| |
stopSong |
Stops the playing song
| |
ToString | (Inherited from Object.) |