Open Plastix opened 9 years ago
InputMultiplexer multiplexer = new InputMultiplexer(); multiplexer.addProcessor(new GestureDetector(hudInputSystem)); multiplexer.addProcessor(new GestureDetector(objectInputSystem)); multiplexer.addProcessor(new GestureDetector(mapInputSystem)); Gdx.input.setInputProcessor(multiplexer); world.setSystem(hudInputSystem); world.setSystem(objectInputSystem); world.setSystem(mapInputSystem);
Article source: http://www.chaonis.com/category/libgdx/
Article source: http://www.chaonis.com/category/libgdx/