40 #ifndef _audioplaylist_cpp
41 #define _audioplsylist_cpp
44 #include "Audio/sound.h"
62 this->push_back(ToAdd);
67 std::vector< Audio::iSound* > temp( this->begin(), this->end() );
68 std::random_shuffle( temp.begin(), temp.end() );
69 this->assign( temp.begin(), temp.end() );
74 for( std::list< Audio::iSound* >::iterator it = this->begin() ; it != this->end() ; ++it )
Playlist()
Class constructor.
bool Boole
Generally acts a single bit, true or false.
~Playlist()
Class destructor.
This is an interface class for a non-spacialized sound.
Boole ContainsSound(iSound *TheSound)
Checks the playlist to see if it contains a sound.
void AddSound(iSound *ToAdd)
Adds a sound to the playlist.
The declaration of the Playlist class.
void Shuffle()
Randomly shuffles the content in the Playlist.
The bulk of the engine components go in this namspace.