So on my Screen
I have two objects of the same class that implement InputProcessor
with the following keyDown()
method:
@Override
public boolean keyDown(int keycode) {
if (keycode==fireKey) {
System.out.println("Reporting keydown "+keyCode);
}
return false;
}
The problem is when I instantiate these two objects, only the last one instantiated receives any keyDown
events. I need both objects (or however many there are) to receive keyDown
events.