ScummVM API documentation
Asylum::ResourceManager Class Reference

Public Member Functions

 ResourceManager (AsylumEngine *vm)
 
ResourceEntryget (ResourceId id)
 
void unload (ResourcePackId id)
 
int getCdNumber ()
 
void setCdNumber (int cdNumber)
 
void setMusicPackId (ResourcePackId id)
 
void clearSharedSoundCache ()
 
void clearMusicCache ()
 

Member Function Documentation

◆ get()

ResourceEntry* Asylum::ResourceManager::get ( ResourceId  id)

Get a resource entry

Parameters
idThe ResourceId to get.
Returns
the resource entry

◆ unload()

void Asylum::ResourceManager::unload ( ResourcePackId  id)

Unloads the resources associated with the id

Parameters
idThe identifier.

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