I have a set of sprites, each one implementing
InputProcessor, and registered to an
InputMultiplexer, when a sprite is touched, everyone fires the
Ok, so I can get the touch coordinates, unproject, and compare with the sprite bounds to know if it was touched, but it wasn't what I had in mind when I implemented InputProcessor into my sprites, I thought only the touched one would fire.
Don't even know if it is a problem, I'm planning to have about 80 sprites reacting to touch. Is this the best solution?
Is there a way to fire an event only for the touched sprite?
I'm not using scene2d or actors.