@Override
    public void paint(Graphics g){
        if (gameLost) {
            System.exit(0);
        }
              
        super.paint(g);
        gameRendering.renderImages(g, backgroundImage, player1, fallingObjects);
    }