@Override
    public void mouseClicked(MouseEvent e) {
        Position pos = this.e.getPos();
        if(this.e.getSoldat()!= null && this.e.getSoldat() instanceof Heros)
            panelPere.select(this);
        else
            panelPere.select(this);
        panelPere.repaint();
//        ArrayList<Element> AE = null;
//        if(this.e.getSoldat()!= null && this.e.getSoldat() instanceof Heros){
//            AE = this.e.getSoldat().getAPortee(panelPere.getMap());
//            for(Element E : AE)
//                System.out.println(E.getPos());
//        }
    }