|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PhysicsTickListener
Implement this interface to be called from the physics thread on a physics update.
Method Summary | |
---|---|
void |
physicsTick(PhysicsSpace space,
float tpf)
Called after the physics has been stepped, use to check for forces etc. |
void |
prePhysicsTick(PhysicsSpace space,
float tpf)
Called before the physics is actually stepped, use to apply forces etc. |
Method Detail |
---|
void prePhysicsTick(PhysicsSpace space, float tpf)
space
- the physics spacetpf
- the time per frame in secondsvoid physicsTick(PhysicsSpace space, float tpf)
space
- the physics spacetpf
- the time per frame in seconds
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |