Skip to content

Commit

Permalink
PhysicsStepListener: add the onStep() method
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Sep 30, 2024
1 parent 25fa0d3 commit a44f714
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,14 @@ of this software and associated documentation files (the "Software"), to deal
* @author Stephen Gold [email protected]
*/
public interface PhysicsStepListener extends ConstJoltPhysicsObject {
// *************************************************************************
// new methods exposed

/**
* Callback invoked (by native code) each time the system is stepped.
*
* @param contextVa the virtual address of the
* {@code PhysicsStepListenerContext} (not zero)
*/
void onStep(long contextVa);
}

0 comments on commit a44f714

Please sign in to comment.