//? This is called from antmovement, for some reason public void NestAssessmentSecondVisit() { SetPrimaryColour(AntColours.NestAssessment.SecondVisit); assessmentStage = 0; nestAssessmentVisitNumber = 2; assessTime = GetAssessTime(); }
// Called after the first or second nest visit has finished (and the ant has left the nest) private void NestAssessmentVisit() { if (nestAssessmentVisitNumber == 1) { // store lenght of first visit and reset length to zero //?assessmentFirstLengthHistory = move.assessingDistance; //?move.assessingDistance = 0f; assessmentStage = NestAssessmentStage.ReturningToHomeNest; SetPrimaryColour(AntColours.NestAssessment.ReturningToHomeNest); } else // Second visit has finished, so assessment is complete { //?assessmentSecondLengthHistory = move.assessingDistance; //?move.assessingDistance = 0f; // store buffon needle assessment values and reset (once assessment has finishe) //?StoreAssessmentHistory(); AssessNest(nestToAssess); } }