jubilant-funicular
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
nta::SoundEffect Class Reference

Represents a sound effect or short audio clip. More...

#include <AudioManager.h>

Collaboration diagram for nta::SoundEffect:
Collaboration graph
[legend]

Public Member Functions

void play (int numLoops=0) const
 plays the sound effect
 

Private Member Functions

 SoundEffect (Mix_Chunk *c)
 Constructor simple stores a chunk.
 
 ~SoundEffect ()
 Destructor frees chunk.
 

Private Attributes

Mix_Chunk * m_chunk
 the chunk representing the stored sound effect
 

Friends

class AudioManager
 

Detailed Description

Represents a sound effect or short audio clip.

Definition at line 12 of file AudioManager.h.


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