public void onAction(String binding, boolean isPressed, float tpf) {

        if (binding.equals(KeyMapper.MOVE_LEFT)) {
            left = isPressed;
        } else if (binding.equals(KeyMapper.MOVE_RIGHT)) {
            right = isPressed;
        } else if (binding.equals(KeyMapper.MOVE_FORWARD)) {
            up = isPressed;
        } else if (binding.equals(KeyMapper.MOVE_BACKWARD)) {
            down = isPressed;
        } else if (binding.equals(KeyMapper.PLAYER_JUMP)) {
            jumping = isPressed;
        } else if (binding.equals(KeyMapper.MOVE_FAST)) {
            fast = isPressed;
        }
    }