SoundListener Class Reference

#include <SoundListener.h>

List of all members.

Public Member Functions

virtual ~SoundListener ()
VectorgetPosition ()
void setPosition (Vector &position)
void setVelocity (Vector &velocity)
void setOrientation (Vector &orientation)
void setGain (float gain)

Protected Member Functions

 SoundListener ()

Friends

class Sound


Detailed Description

Definition at line 27 of file SoundListener.h.


Constructor & Destructor Documentation

SoundListener::~SoundListener (  )  [virtual]

Definition at line 33 of file SoundListener.cpp.

SoundListener::SoundListener (  )  [protected]

Definition at line 29 of file SoundListener.cpp.


Member Function Documentation

Vector & SoundListener::getPosition (  ) 

Definition at line 37 of file SoundListener.cpp.

References Sound::instance().

Referenced by Sound::updateSources().

void SoundListener::setPosition ( Vector position  ) 

Definition at line 47 of file SoundListener.cpp.

References Sound::instance().

Referenced by MainCamera::simulate().

void SoundListener::setVelocity ( Vector velocity  ) 

Definition at line 54 of file SoundListener.cpp.

References Sound::instance().

Referenced by MainCamera::simulate().

void SoundListener::setOrientation ( Vector orientation  ) 

Definition at line 62 of file SoundListener.cpp.

References Sound::instance().

Referenced by MainCamera::simulate().

void SoundListener::setGain ( float  gain  ) 

Definition at line 77 of file SoundListener.cpp.

References Sound::instance().

Referenced by SoundDialog::buttonDown(), and initHardware().


Friends And Related Function Documentation

friend class Sound [friend]

Definition at line 39 of file SoundListener.h.


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:06 2009 for Scorched3D by  doxygen 1.5.3