@Override
	public void loadImages() {
		if(hImgLdr == null){
			hImgLdr = new HorseRaceImageLoader();
		}
		GameObject background = gameObjects.get("BACKGROUND");
		if(backgroundStand == null){
			backgroundStand = new BufferedImage[1];
		}
		backgroundStand[0] = hImgLdr.scaleBufferedImage(hImgLdr.loadBufferedImage(HorseRaceImageLoader.BACKGROUND), background.getSize());
		background.addAnimation(animationStand, backgroundStand);
		if(backgroundStandOpen == null){
			backgroundStandOpen = new BufferedImage[1];
		}
		backgroundStandOpen[0] = hImgLdr.scaleBufferedImage(hImgLdr.loadBufferedImage(HorseRaceImageLoader.BACKGROUND_OPEN), background.getSize());
		background.addAnimation(animationStandOpen, backgroundStandOpen);
		
		boolean firstRun = true;
		if(horseStand == null){
			horseStand = new BufferedImage[1];
		}
		if(horseMove == null){
			horseMove = new BufferedImage[HorseRaceImageLoader.HORSE_MOVE.length];
		}
		for (Team team : playmode.getTeams()) {
			for (User user : team.getUser()) {
				GameObject playerObject = gameObjects.get("PLAYER" + user.getID());
				if(firstRun){
					firstRun = false;
					horseStand[0] = (hImgLdr.scaleBufferedImage(hImgLdr.loadBufferedImage(HorseRaceImageLoader.HORSE_STAND), playerObject.getSize()));
					for(int i = 0; i < HorseRaceImageLoader.HORSE_MOVE.length; i++){
						horseMove[i] = (hImgLdr.scaleBufferedImage(hImgLdr.loadBufferedImage(HorseRaceImageLoader.HORSE_MOVE[i]), playerObject.getSize()));
					}
				}
				playerObject.addAnimation(animationStand, horseStand);
				playerObject.addAnimation(animationMove, horseMove);
			}
		}
		offscreen = new BufferedImage(getWidth(), getHeight(), BufferedImage.TYPE_INT_RGB);
		offscreenGraphics = offscreen.getGraphics();
		imagesLoaded = true;
	}