// Path: gdx-bullet-gwt/src/com/badlogic/gdx/physics/bullet/gwt/emu/com/badlogic/gdx/physics/bullet/collision/btBroadphaseInterface.java
// public class btBroadphaseInterface extends BulletBase
// {
// 	
// 	public native btOverlappingPairCache getOverlappingPairCache() /*-{
// 		var bpInterfaceJS = this.@com.badlogic.gdx.physics.bullet.BulletBase::jsObject;
// 		var pairCacheJS = bpInterfaceJS.getOverlappingPairCache();
// 		var pairCache = @com.badlogic.gdx.physics.bullet.Bullet::TMP_btOverlappingPairCache_1;
// 		pairCache.@com.badlogic.gdx.physics.bullet.BulletBase::jsObject = pairCacheJS;
// 		return pairCache;
// 	}-*/;
// }
// 
// Path: gdx-bullet-gwt/src/com/badlogic/gdx/physics/bullet/gwt/emu/com/badlogic/gdx/physics/bullet/collision/btCollisionConfiguration.java
// public class btCollisionConfiguration extends BulletBase
// {	
// }
// 
// Path: gdx-bullet-gwt/src/com/badlogic/gdx/physics/bullet/gwt/emu/com/badlogic/gdx/physics/bullet/collision/btDispatcher.java
// public class btDispatcher extends BulletBase
// {
// 	public btPersistentManifold manifold = new btPersistentManifold();
// 
// 	public native int getNumManifolds() /*-{
// 		var dispacher = this.@com.badlogic.gdx.physics.bullet.BulletBase::jsObject;
// 		return dispacher.getNumManifolds();
// 	}-*/;
// 
// 	public btPersistentManifold getManifoldByIndexInternal(int index)
// 	{
// 		//		long cPtr = CollisionJNI.btDispatcher_getManifoldByIndexInternal(swigCPtr, this, index);
// 		//		return (cPtr == 0) ? null : new btPersistentManifold(cPtr, false);
// 		
// 		manifold.jsObject = getManifoldByIndexInternall(index);
// 		return manifold;
// 	}
// 
// 	private native JavaScriptObject getManifoldByIndexInternall(int index) /*-{
// 		var dispacher = this.@com.badlogic.gdx.physics.bullet.BulletBase::jsObject;
// 		return dispacher.getManifoldByIndexInternal(index);
// 	}-*/;
// }


import com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface;
import com.badlogic.gdx.physics.bullet.collision.btCollisionConfiguration;
import com.badlogic.gdx.physics.bullet.collision.btDispatcher;
import com.google.gwt.core.client.JavaScriptObject;

package com.badlogic.gdx.physics.bullet.dynamics;


public class btDiscreteDynamicsWorld extends btDynamicsWorld
{
	public btDiscreteDynamicsWorld()
	{
		
	}
	public btDiscreteDynamicsWorld(btDispatcher dispatcher, btBroadphaseInterface pairCache, btConstraintSolver constraintSolver, btCollisionConfiguration collisionConfiguration)
	{
		this.m_dispatcher = dispatcher;
		jsObject = createObj(dispatcher, pairCache, constraintSolver, collisionConfiguration);
	}
	

// Path: gdx-bullet-gwt/src/com/badlogic/gdx/physics/bullet/gwt/emu/com/badlogic/gdx/physics/bullet/collision/btBroadphaseInterface.java
// public class btBroadphaseInterface extends BulletBase
// {
// 	
// 	public native btOverlappingPairCache getOverlappingPairCache() /*-{
// 		var bpInterfaceJS = this.@com.badlogic.gdx.physics.bullet.BulletBase::jsObject;
// 		var pairCacheJS = bpInterfaceJS.getOverlappingPairCache();
// 		var pairCache = @com.badlogic.gdx.physics.bullet.Bullet::TMP_btOverlappingPairCache_1;
// 		pairCache.@com.badlogic.gdx.physics.bullet.BulletBase::jsObject = pairCacheJS;
// 		return pairCache;
// 	}-*/;
// }
// 
// Path: gdx-bullet-gwt/src/com/badlogic/gdx/physics/bullet/gwt/emu/com/badlogic/gdx/physics/bullet/collision/btCollisionConfiguration.java
// public class btCollisionConfiguration extends BulletBase
// {	
// }
// 
// Path: gdx-bullet-gwt/src/com/badlogic/gdx/physics/bullet/gwt/emu/com/badlogic/gdx/physics/bullet/collision/btDispatcher.java
// public class btDispatcher extends BulletBase
// {
// 	public btPersistentManifold manifold = new btPersistentManifold();
// 
// 	public native int getNumManifolds() /*-{
// 		var dispacher = this.@com.badlogic.gdx.physics.bullet.BulletBase::jsObject;
// 		return dispacher.getNumManifolds();
// 	}-*/;
// 
// 	public btPersistentManifold getManifoldByIndexInternal(int index)
// 	{
// 		//		long cPtr = CollisionJNI.btDispatcher_getManifoldByIndexInternal(swigCPtr, this, index);
// 		//		return (cPtr == 0) ? null : new btPersistentManifold(cPtr, false);
// 		
// 		manifold.jsObject = getManifoldByIndexInternall(index);
// 		return manifold;
// 	}
// 
// 	private native JavaScriptObject getManifoldByIndexInternall(int index) /*-{
// 		var dispacher = this.@com.badlogic.gdx.physics.bullet.BulletBase::jsObject;
// 		return dispacher.getManifoldByIndexInternal(index);
// 	}-*/;
// }


// Path: gdx-bullet-gwt/src/com/badlogic/gdx/physics/bullet/gwt/emu/com/badlogic/gdx/physics/bullet/dynamics/btDiscreteDynamicsWorld.java
import com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface;
import com.badlogic.gdx.physics.bullet.collision.btCollisionConfiguration;
import com.badlogic.gdx.physics.bullet.collision.btDispatcher;
import com.google.gwt.core.client.JavaScriptObject;

package com.badlogic.gdx.physics.bullet.dynamics;


public class btDiscreteDynamicsWorld extends btDynamicsWorld
{
	public btDiscreteDynamicsWorld()
	{
		
	}
	public btDiscreteDynamicsWorld(btDispatcher dispatcher, btBroadphaseInterface pairCache, btConstraintSolver constraintSolver, btCollisionConfiguration collisionConfiguration)
	{
		this.m_dispatcher = dispatcher;
		jsObject = createObj(dispatcher, pairCache, constraintSolver, collisionConfiguration);
	}
	

	private native JavaScriptObject createObj(btDispatcher dispatcher, btBroadphaseInterface pairCache, btConstraintSolver constraintSolver, btCollisionConfiguration collisionConfiguration) /*-{
