public void paintComponent(Graphics g){
		int i,j,x,y;
		BufferedImage img;
		margeX = (this.getWidth() - (nbCaseX*this.RectSize))/2;
		margeY = (this.getHeight() - (nbCaseY*this.RectSize))/2;
		
		g.setColor(Color.WHITE);
		g.fillRect(0, 0, this.getWidth(), this.getWidth());
		
		
		for(i = 0; i < nbCaseX ; ++i){
			x = i*this.RectSize + margeX;
			for(j = 0; j < nbCaseY ; ++j){
				y = j*this.RectSize + margeY;
				if(i < this.mapNbX - this.Istart && j < this.mapNbY - this.Jstart){
					g.setColor(getColor(this.caseMap[i + Istart][j + Jstart].getBiome()));
					g.fillRect(x, y, this.RectSize, this.RectSize);
					for(Objet o : this.caseMap[i + Istart][j + Jstart].getObjetsPresents()){
						img = this.getImageObjet(o);
						if(img != null && this.RectSize >= 40){
							g.drawImage(img, x, y, this.RectSize, this.RectSize, null);
						}
						else {
							g.setColor(this.getColorObjet(o));
							g.fillRect( x, y,this.RectSize,this.RectSize);
						}
					}
				}
			}
		}
		
		
	}