public boolean select(int x, int y){
        if (isSelected())
            if(this.getSelected()== map[x][y].getSoldat()){ 
                this.selected = null;
                return false;
            }else
                actOn(x, y);
        
        if (map[x][y].estLibre())
            return(false);
        else if (map[x][y].getSoldat() instanceof Monstre)
            return(false);
        
        this.selected = map[x][y].getSoldat();
        
        if (this.selected.aJoue()){
            this.selected = null;
            return(false);
        }
        
        return(true);
    }