MezzanineEngine 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Mezzanine::Audio::Playlist Class Reference

This class is a list of sounds with common playlist features. More...

#include <playlist.h>

+ Inheritance diagram for Mezzanine::Audio::Playlist:
+ Collaboration diagram for Mezzanine::Audio::Playlist:

Public Member Functions

 Playlist ()
 Class constructor.
 
 ~Playlist ()
 Class destructor.
 
void AddSound (iSound *ToAdd)
 Adds a sound to the playlist. More...
 
bool ContainsSound (iSound *TheSound)
 Checks the playlist to see if it contains a sound. More...
 
void Shuffle ()
 Randomly shuffles the content in the Playlist.
 

Additional Inherited Members

- Public Attributes inherited from std::list< T >
elements
 STL member.
 

Detailed Description

This class is a list of sounds with common playlist features.

Definition at line 58 of file playlist.h.

Member Function Documentation

void Mezzanine::Audio::Playlist::AddSound ( iSound ToAdd)

Adds a sound to the playlist.

Parameters
ToAddThe sound to be added.

Definition at line 60 of file playlist.cpp.

bool Mezzanine::Audio::Playlist::ContainsSound ( iSound TheSound)

Checks the playlist to see if it contains a sound.

Parameters
TheSoundThe sound to check for.

Definition at line 72 of file playlist.cpp.


The documentation for this class was generated from the following files: