@Override
	public void mouseClicked(MouseEvent arg0) {
		if(bouton.type.compareTo("mur")==0){
			/*chemin*/
			bouton.img = new ImageIcon("./images/bloc/pave/karodark.gif");
			bouton.type="chemin";		
		}else if(bouton.type.compareTo("caisse")==0){
			/*indestructible*/
			bouton.img = new ImageIcon("./images/bloc/brique/brick.gif");
			bouton.type="mur";			
		}else if (bouton.type.compareTo("chemin")==0){
			/*destructible*/
			bouton.img = new ImageIcon("./images/bloc/pave/cityfree.gif");
			bouton.type="caisse";
		}
		bouton.setIcon(bouton.img);	
		
		if(bouton.type.compareTo("valider")==0){
			bouton.sauvegarder();
		}
	}