java - LibGDX, Need click event in portable application and in Stage, how? -


i creating video game libgdx, need have 2 click events, 1 on stage object, other on window.

when add stage on init method :

gdx.input.setinputprocessor(stage); 

the event onclick inherited portable application disabled...

is there solution problem ?

thank !

use gdx.input.setinputprocessor(new inputmultiplexer(otherinputprocessor, stage)); swap order of 2 if want stage take precedence.


Popular posts from this blog

java - Cannot send AES encrypted messages of over 47 characters -

php - How to set default value of a select dynamically from database using smarty? -

telerik - Reformat image format in PDF -