|
|
@ -39,15 +39,15 @@ public interface PhysicsTickListener { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Called before the physics is actually stepped, use to apply forces etc. |
|
|
|
* Called before the physics is actually stepped, use to apply forces etc. |
|
|
|
* @param space |
|
|
|
* @param space the physics space |
|
|
|
* @param f |
|
|
|
* @param tpf the time per frame in seconds |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void prePhysicsTick(PhysicsSpace space, float f); |
|
|
|
public void prePhysicsTick(PhysicsSpace space, float f); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Called after the physics has been stepped, use to check for forces etc. |
|
|
|
* Called after the physics has been stepped, use to check for forces etc. |
|
|
|
* @param space |
|
|
|
* @param space the physics space |
|
|
|
* @param f |
|
|
|
* @param tpf the time per frame in seconds |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void physicsTick(PhysicsSpace space, float f); |
|
|
|
public void physicsTick(PhysicsSpace space, float f); |
|
|
|
|
|
|
|
|
|
|
|