WaveSound Class Reference

#include <WaveSound.h>

List of all members.

Public Member Functions

 WaveSound ()
 Null Sound.
 WaveSound (int type)
 ~WaveSound ()
void play (int volume, int panning, int pitch)
 The basic play() function.
int getType ()

Protected Attributes

SAMPLE * sound
 The sound this object will play.
int type
 A code, specified by an enum, that describes what kind of Sound.


Constructor & Destructor Documentation

WaveSound::WaveSound (  ) 

Null Sound.

Note that play() checks for a null pointer, so this won't throw errors.

WaveSound::WaveSound ( int  type  ) 

WaveSound::~WaveSound (  ) 


Member Function Documentation

int WaveSound::getType (  ) 

void WaveSound::play ( int  volume,
int  panning,
int  pitch 
)

The basic play() function.


Member Data Documentation

SAMPLE* WaveSound::sound [protected]

The sound this object will play.

int WaveSound::type [protected]

A code, specified by an enum, that describes what kind of Sound.


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

Generated on Mon Mar 16 14:33:16 2009 for LearningGaming by  doxygen 1.5.7.1