ScummVM API documentation
Grim::PoolSound Class Reference
Inheritance diagram for Grim::PoolSound:
Grim::PoolObject< PoolSound > Grim::PoolObjectBase

Public Member Functions

 PoolSound (const Common::String &filename)
 
void openFile (const Common::String &filename)
 
void play (bool looping)
 
void playFrom (const Math::Vector3d &pos, bool looping)
 
void setVolume (int volume)
 
void setBalance (int balance)
 
void setPosition (Math::Vector3d &pos)
 
void stop ()
 
int getVolume ()
 
bool isPlaying ()
 
void saveState (SaveGame *state)
 
void restoreState (SaveGame *state)
 
- Public Member Functions inherited from Grim::PoolObject< PoolSound >
void setId (int id)
 
int getId () const override
 
int32 getTag () const override
 

Static Public Member Functions

static int32 getStaticTag ()
 
- Static Public Member Functions inherited from Grim::PoolObject< PoolSound >
static PoolgetPool ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from Grim::PoolObject< PoolSound >
static void saveStaticState (SaveGame *state)
 
static void restoreStaticState (SaveGame *state)
 

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