public void hear(Call call, double x1, double y1){
        if(call.getContent()=="Food"){
            if(energy < energyMax*.6 ){
            setDirection(Math.atan2(y1-getY(),x1-getX()));
            }
        }
        if(call.getContent()=="Mate"){
            if(energy > energyMax*.2 ){
                if(age >= puberty ){
                    if(genitals.size()>0){
                        if(genitals.get(0).getSemenCount() > 0 && call.getOrganism().getSex() != sex && call.getOrganism().getSpecies()==species ){
                            setDirection(Math.atan2(y1-getY(),x1-getX()));
                        }
                    }
                }
            }
        }
        
    }