Physics integration into StandardGame and DebugGameState


I want to integrate physics into darkfrog's approach. At first DebugGameState with PhysicsSpace and the V-Binding for showing the physics. Now I'm not sure how to implement that (best). Can anybody help?


Hmmm, unless I'm missing something it should be exactly the same way as you would in SimpleGame except your update calls would be done in DebugGameState's update method instead of simpleUpdate.

The rest should be exactly the same. Feel free to post if you have any problems.