ScummVM API documentation
hpl::cMaterialHandler Class Reference

Public Member Functions

 cMaterialHandler (cGraphics *apGraphics, cResources *apResources)
 
void Add (iMaterialType *apTypedata)
 
iMaterial * Create (tString asMatName, eMaterialPicture mPicType)
 
iMaterial * Create (const tString &asName, tString asMatName, eMaterialPicture mPicType)
 

Member Function Documentation

◆ Add()

void hpl::cMaterialHandler::Add ( iMaterialType *  apTypedata)

Add a new type of material

Parameters
apTypedata

◆ Create()

iMaterial * hpl::cMaterialHandler::Create ( tString  asMatName,
eMaterialPicture  mPicType 
)

Create a new material

Parameters
asMatName
mPicType
Returns

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