public void perform(final Canvas source, final TwoInputStates inputStates, final double tpf) {
lookAtZero(source);
}
}));
logicalLayer.registerTrigger(new InputTrigger(new AnyKeyCondition(), new TriggerAction() {
public void perform(final Canvas source, final TwoInputStates inputStates, final double tpf) {
final InputState current = inputStates.getCurrent();
System.out.println("Key character pressed: " + current.getKeyboardState().getKeyEvent().getKeyChar());
}