//if the player is detected: // - because he is seen // - because he is in the listening range // - because the agent is hit public bool PlayerDetected() { return(coneVision.Listen(listeningRange) || coneVision.Look() || health.CheckDamage()); }