List of all members.
Public Member Functions |
| | Sound (const std::string &filePath) |
| Mix_Chunk * | getSound () const |
Private Member Functions |
| void | load () |
Private Attributes |
| Mix_Chunk * | mChunk |
Detailed Description
Sound Resource.
Derived from the Resource class.
Constructor & Destructor Documentation
| Sound::Sound |
( |
const std::string & |
filePath |
) |
|
Member Function Documentation
| Mix_Chunk * Sound::getSound |
( |
|
) |
const |
Should this be private and just friend the Mixer class?
| void Sound::load |
( |
|
) |
[private, virtual] |
Performs the necessary operations to load a Resource.
- Note:
- This is a pure virtual function and so must be overridden by all derived classes.
-
It is the responsibility of the derived class to call this function.
Implements Resource.
Member Data Documentation
The documentation for this class was generated from the following files:
- C:/Development/LoM/client/src/Resources/Sound.h
- C:/Development/LoM/client/src/Resources/Sound.cpp