public GameScreen() { guiCam = new Camera2D(Assets.screenWidth, Assets.screenHeight); batcher = new spritebatchextension(Assets.max_texrg); batcherBridge = new BatcherBridge(batcher); ts_bridge = new tools_seting_bridge(); //Sending a handle of this class to c++ Bridge.postobject(this, 0); //Sending a handle of this class to c++ Bridge.postobject(batcherBridge, 1); //Sending a handle of this class to c++ Bridge.postobject(guiCam, 2); ////////////////////////////////////// Bridge.postobject(ts_bridge, 4); ///////////////////////////////// }
public GameScreen() { guiCam = new Camera2D(Assets.screenWidth, Assets.screenHeight); batcher = new spritebatchextension(Assets.max_texrg ); batcherBridge=new BatcherBridge(batcher); ts_bridge=new tools_seting_bridge(); //Sending a handle of this class to c++ Bridge.postobject(this, 0); //Sending a handle of this class to c++ Bridge.postobject(batcherBridge, 1); //Sending a handle of this class to c++ Bridge.postobject(guiCam, 2); ////////////////////////////////////// Bridge.postobject(ts_bridge,4); ///////////////////////////////// }