@Override
	public void mousePressed(MouseEvent e) {
		if ( e.getSource() instanceof PlacementTile) {
			//Creation et initialisation de la tuile
			PlacementTile pt = (PlacementTile)e.getSource();
			Tile tile = new Tile(selected.getType(), pt.getOrientation());
			tile.setLocation(pt.getX(), pt.getY());
			
			//Envoi du placement au serveur
			try { client.sendMessage("POSET:"+ pt.getNeighboor().getType() + ":" + pt.getPosition() + ":" + pt.getOrientation()); } catch ( IOException ex) { System.out.println("Failed!");  }
			
			this.addTile(tile);	//Ajout au plateau
			this.removeAllPlacementTile(); //Retrait des PlacementTile
			this.selected.setSelectedTile(null); //Retrait de la selection
			
			
		}
		//Placement d'un champ
		else if ( e.getSource() instanceof Tile) {
			Tile t = (Tile)e.getSource();
		
			//Envoi du placement au serveur
			try { 
				client.sendMessage("FIELD:"+ t.getType());
			} catch ( IOException ex) {  System.out.println("Failed!");  }
		}
		//Clic sur une zone du plateau
		else if ( e.getSource() == this.board) {
			this.isBoardSelected = true;
			//Position de la souris au clic
			this.cX = e.getX();
			this.cY = e.getY();
		}
	}