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

Public Member Functions

 iPhysicsMaterial (const tString &asName, iPhysicsWorld *apWorld)
 
const tStringGetName () const
 
virtual void SetElasticity (float afElasticity)=0
 
virtual float GetElasticity () const =0
 
virtual void SetStaticFriction (float afElasticity)=0
 
virtual float GetStaticFriction () const =0
 
virtual void SetKineticFriction (float afElasticity)=0
 
virtual float GetKineticFriction () const =0
 
virtual void SetFrictionCombMode (ePhysicsMaterialCombMode aMode)=0
 
virtual ePhysicsMaterialCombMode GetFrictionCombMode () const =0
 
virtual void SetElasticityCombMode (ePhysicsMaterialCombMode aMode)=0
 
virtual ePhysicsMaterialCombMode GetElasticityCombMode () const =0
 
void SetSurfaceData (cSurfaceData *apData)
 
cSurfaceDataGetSurfaceData ()
 
void SetPreloaded (bool abX)
 
bool IsPreloaded ()
 

Protected Attributes

iPhysicsWorldmpWorld
 
tString msName
 
bool mbPreloaded
 
cSurfaceDatampSurfaceData
 

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