OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Public Member Functions | Private Attributes | List of all members
SoundSource Class Reference

#include <SoundManager.h>

Public Member Functions

 SoundSource (glm::vec3 p, int i, int f)
 
void prepare ()
 
void play ()
 
void stop ()
 
glm::vec3 getPos ()
 
int getID ()
 
int getFlags ()
 
int getSource ()
 
bool isPlaying ()
 

Private Attributes

glm::vec3 pos
 
int id
 
int flags
 
int source
 
bool playing
 

Detailed Description

Definition at line 13 of file SoundManager.h.

Constructor & Destructor Documentation

SoundSource::SoundSource ( glm::vec3  p,
int  i,
int  f 
)
inline

Definition at line 15 of file SoundManager.h.

Member Function Documentation

void SoundSource::prepare ( )

Definition at line 16 of file SoundManager.cpp.

void SoundSource::play ( )

Definition at line 39 of file SoundManager.cpp.

void SoundSource::stop ( )

Definition at line 46 of file SoundManager.cpp.

glm::vec3 SoundSource::getPos ( )
inline

Definition at line 20 of file SoundManager.h.

int SoundSource::getID ( )
inline

Definition at line 21 of file SoundManager.h.

int SoundSource::getFlags ( )
inline

Definition at line 22 of file SoundManager.h.

int SoundSource::getSource ( )
inline

Definition at line 23 of file SoundManager.h.

bool SoundSource::isPlaying ( )
inline

Definition at line 24 of file SoundManager.h.

Member Data Documentation

glm::vec3 SoundSource::pos
private

Definition at line 27 of file SoundManager.h.

int SoundSource::id
private

Definition at line 28 of file SoundManager.h.

int SoundSource::flags
private

Definition at line 28 of file SoundManager.h.

int SoundSource::source
private

Definition at line 28 of file SoundManager.h.

bool SoundSource::playing
private

Definition at line 29 of file SoundManager.h.


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