ScummVM API documentation
hpl::cPhysicsMaterialNewton Class Reference
Inheritance diagram for hpl::cPhysicsMaterialNewton:
hpl::iPhysicsMaterial

Public Member Functions

 cPhysicsMaterialNewton (const tString &asName, iPhysicsWorld *apWorld, int alMatId=-1)
 
void SetElasticity (float afElasticity)
 
float GetElasticity () const
 
void SetStaticFriction (float afElasticity)
 
float GetStaticFriction () const
 
void SetKineticFriction (float afElasticity)
 
float GetKineticFriction () const
 
void SetFrictionCombMode (ePhysicsMaterialCombMode aMode)
 
ePhysicsMaterialCombMode GetFrictionCombMode () const
 
void SetElasticityCombMode (ePhysicsMaterialCombMode aMode)
 
ePhysicsMaterialCombMode GetElasticityCombMode () const
 
void UpdateMaterials ()
 
int GetId ()
 
- Public Member Functions inherited from hpl::iPhysicsMaterial
 iPhysicsMaterial (const tString &asName, iPhysicsWorld *apWorld)
 
const tStringGetName () const
 
void SetSurfaceData (cSurfaceData *apData)
 
cSurfaceDataGetSurfaceData ()
 
void SetPreloaded (bool abX)
 
bool IsPreloaded ()
 

Additional Inherited Members

- Protected Attributes inherited from hpl::iPhysicsMaterial
iPhysicsWorldmpWorld
 
tString msName
 
bool mbPreloaded
 
cSurfaceDatampSurfaceData
 

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