Skip to content

Commit

Permalink
Test: add 5 methods
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Nov 10, 2024
1 parent 7445c24 commit b29276b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/java/testjoltjni/app/samples/Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ abstract public class Test {
protected JobSystem mJobSystem;

float GetWorldScale() { return 1.0f; }
public void Initialize(){}
public void PrePhysicsUpdate(PreUpdateParams params){}
void SetDebugRenderer(DebugRenderer renderer){mDebugRenderer = renderer;}
void SetJobSystem(JobSystem inJobSystem){mJobSystem=inJobSystem;}
void SetPhysicsSystem(PhysicsSystem inPhysicsSystem){mPhysicsSystem=inPhysicsSystem;mBodyInterface=inPhysicsSystem.getBodyInterface();}
void SetTempAllocator(TempAllocator inTempAllocator){mTempAllocator=inTempAllocator;}

public Body CreateFloor() {return CreateFloor(200.0f);}
public Body CreateFloor(float inSize)
Expand Down

0 comments on commit b29276b

Please sign in to comment.