@Override
    public void update(long elapsedTime) {

        checkForKeyPress();

        if (getScreen() != null) {

            if (!screenShotAnimations.isEmpty()){
                for (ScreenShotAnimation screenShotAnimation : screenShotAnimations){
                    screenShotAnimation.update();
                }
            }

            getScreen().update();

            if (Config.isDebugMode()) {
                getScreen().updateDebug();
            }
        }
    }