Skip to content

Instantly share code, notes, and snippets.

@smaspe
Created July 18, 2013 15:50
Show Gist options
  • Save smaspe/6030458 to your computer and use it in GitHub Desktop.
Save smaspe/6030458 to your computer and use it in GitHub Desktop.
InputMultiplexer multiplexer = new InputMultiplexer();
multiplexer.addProcessor(new ZoomMoveKeyProcessor(camera));
multiplexer.addProcessor(new GestureDetector(new ZoomPanDetector(camera)));
multiplexer.addProcessor(new GestureDetector(new PutStoneDetector(this, camera)));
Gdx.input.setInputProcessor(multiplexer);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment