public void drawPath(Graphics g) {
		try {
			// System.out.println("écran trouvé !");
			Game game = ((Game) this.screen);
			Player p = game.getPlayer();

			List<Entity> ennemies = game.getLevel().getEntities();

			for (Entity e : ennemies) {

				// LANCEMENT DE A_STAR
				if (e != p) {
					PathFinder pF = new PathFinder(e, p, game.getLevel()
							.getMap());
					ArrayList<Point> lp = pF.A_star();
System.out.println("A_STAR");
					Point precedent = new Point(pF.getPosEnd());
					int diffX = WIDTH / 2 - precedent.x*Tile.SIZE;
					int diffY = HEIGHT / 2 - precedent.y*Tile.SIZE;
					// tracé de la droite
					g.drawLine(WIDTH / 2, HEIGHT / 2,
							(int) (e.getX() - p.getX()) + WIDTH / 2,
							(int) (e.getY() - p.getY()) + HEIGHT / 2);
					// tracé du tableau
					for (Point point : lp) {
						//System.out.println("precedent : (" + precedent.x*Tile.SIZE + Tile.SIZE/2 + "," + precedent.y*Tile.SIZE + Tile.SIZE/2 +")");
						//System.out.println("courant : (" + point.x*Tile.SIZE + Tile.SIZE/2 + "," + point.y*Tile.SIZE + Tile.SIZE/2 +")");
						//System.out.println(precedent.x + " , " + precedent.x);
/*System.out.println((precedent.x*Tile.SIZE + Tile.SIZE/2 + diffX) 
		+ " , " + (precedent.y*Tile.SIZE + Tile.SIZE/2 + diffY)
		+ " -> " + (point.x*Tile.SIZE + Tile.SIZE/2 + diffX)
		+ " , " + (point.y*Tile.SIZE + Tile.SIZE/2 + diffY));*/
						g.drawLine(precedent.x*Tile.SIZE + Tile.SIZE/2 + diffX,
								precedent.y*Tile.SIZE + Tile.SIZE/2 + diffY,
								point.x*Tile.SIZE + Tile.SIZE/2 + diffX,
								point.y*Tile.SIZE + Tile.SIZE/2 + diffY);
						precedent = point;

					}
					//System.out.println("last Pos : " + precedent.toString());

				}
				// System.out.println(e);
			}
		} catch (ClassCastException cce) {
			System.err.println("Cet écran n'est une game !");
		}
	}