Reputation: 1
I'm working with the LibGDX framework and I'm trying this:
World world = new World()
But I cannot import com.badlogic.gdx.physics.World
, in gdx there is no physics module. I have imported gdx-backend-lwjgl.jar
, gdx-backend-lwjgl-natives.jar
, gdx.jar
and gdx-natives.jar
Upvotes: 0
Views: 478
Reputation: 1903
When creating the project using new snapshot project creator make sure to check Box2d check box.
That should do the work.
Upvotes: 1