BGMusic Class Reference

#include <BGMusic.h>

List of all members.

Public Member Functions

 BGMusic ()
 Null Sound.
 BGMusic (int type)
 ~BGMusic ()
void play (int loop)
 The basic play() function.
int getType ()

Protected Attributes

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


Constructor & Destructor Documentation

BGMusic::BGMusic (  ) 

Null Sound.

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

BGMusic::BGMusic ( int  type  ) 

BGMusic::~BGMusic (  ) 


Member Function Documentation

int BGMusic::getType (  ) 

void BGMusic::play ( int  loop  ) 

The basic play() function.


Member Data Documentation

MIDI* BGMusic::sound [protected]

The sound this object will play.

int BGMusic::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:06 2009 for LearningGaming by  doxygen 1.5.7.1