public boolean keyIsPressed(final int keyCode){
  return pressedStateKeys.contains(keyCode);
}

public boolean keyIsPressed ( final int keyCode ) { return pressedStateKeys . contains ( keyCode ) ; }
check if a keyboard key is in the " pressed " state .
