iPcGravityCallback Struct Reference
Inherit this class if you want to know when gravity is applied to a certain iPcLinearMovement. More...
#include <propclass/linmove.h>
Inheritance diagram for iPcGravityCallback:

Public Member Functions | |
| virtual void | Callback ()=0 |
| The gravity is applied on this frame on the iPcLinearMovementiPcLinearMovement of this entity, ie its vertical velocity is negative. | |
Detailed Description
Inherit this class if you want to know when gravity is applied to a certain iPcLinearMovement.
This is usefully if you for example want to apply certain gravity or something on the way up, but not on the way down (Parachutes and things like that). Register this callback with iPcLinearMovement::AddGravityCallback(), and remove it with iPcLinearMovement::RemoveGravityCallback()
Definition at line 50 of file linmove.h.
Member Function Documentation
| virtual void iPcGravityCallback::Callback | ( | ) | [pure virtual] |
The gravity is applied on this frame on the iPcLinearMovementiPcLinearMovement of this entity, ie its vertical velocity is negative.
The documentation for this struct was generated from the following file:
- propclass/linmove.h
Generated for CEL: Crystal Entity Layer 2.0 by doxygen 1.6.1
