private void LoadContent() {
        try {
            //set the car image and its size
            URL carImgUrl = this.getClass().getResource("/raceresources/resources/images/car.png");
            carImg = ImageIO.read(carImgUrl);
            carImgWidth = carImg.getWidth();
            carImgHeight = carImg.getHeight();

            //set and image for when the race is won
            URL carWonImgUrl = this.getClass().getResource("/raceresources/resources/images/car.png");
            carWonImg = ImageIO.read(carWonImgUrl);
            
            //set and image for when the car is crashed
            URL carCrashedImgUrl = this.getClass().getResource("/raceresources/resources/images/car.png");
            carCrashedImg = ImageIO.read(carCrashedImgUrl);

        } catch (IOException ex) {
            //i'm not totally sure how this works but it is some kind of fancy error reporting
            Logger.getLogger(Car.class.getName()).log(Level.SEVERE, null, ex);
        }
    }