# SoundPlayer Class Reference

`#include <classes.h>`

List of all members.

## Public Member Functions
void | loop ()
void | play (int mode)
int | getMode ()
void | changeSound (int sound)

## Detailed Description

Sound player class is responsible for sounds to not overlap severly.

## Member Function Documentation

void SoundPlayer::changeSound | ( | int | sound | ) | `[inline]`

stops current sound and plays new sound.

int SoundPlayer::getMode | ( |  | ) | `[inline]`

Returns the soundmode

void SoundPlayer::loop | ( |  | ) | `[inline]`

Main calls this loop to get GDK to play the sounds.

void SoundPlayer::play | ( | int | mode | ) | `[inline]`

Changes the sound mode.

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

- C:/Documents and Settings/Adam Schwartz/My Documents/um/code/classes.h