public void onAction(String name, boolean isPressed, float tpf) {
        if (isPressed && name.equals(KeyMapper.BRING_ELEVATOR_UP)) {

            if (!elevatorMoving) {
                if (elevatorUp == true) {
                    bringElevatorDown();
                }

                if (elevatorUp == false) {
                    bringElevatorUp();
                }
            }
        }

    }