public void paintLists() {
        for (int i = 0; i < spaceJunk.size(); i++) {
            SpaceJunk a = spaceJunk.get(i);
            if (distanceToShip((int) a.xPosition, (int) a.yPosition)
                    < Game.RESOLUTION_WIDTH) {
                a.paint(offg, cameraOffsetX, cameraOffsetY);
            }
        }
        for (int i = 0; i < planets.size(); i++) {
            Planet p = planets.get(i);
            if (distanceToShip((int) p.xPosition, (int) p.yPosition)
                    < Game.RESOLUTION_WIDTH * 3) {
                p.paint(offg, cameraOffsetX, cameraOffsetY);
            }
        }
        for (int i = 0; i < bullets.size(); i++) {
            Bullet b = bullets.get(i);
            if (distanceToShip((int) b.xPosition,
                    (int) b.yPosition) < Game.RESOLUTION_WIDTH) {
                b.paint(offg, cameraOffsetX, cameraOffsetY);
            }
        }

        for (int i = 0; i < debris.size(); i++) {
            debris.get(i).paint(offg, cameraOffsetX, cameraOffsetY);
        }
    }