protected void DecodeGenotype()
    {
        float minAngle  = 120.0f;
        float maxAngle  = 360.0f;
        float minRadius = 3.0f;
        float maxRadius = 8.0f;
        var   geneDict  = Genetics.Decode(genotype);

        fov.viewAngle  = geneDict["fovAngle"] / 64.0f * (maxAngle - minAngle) + minAngle;
        fov.viewRadius = geneDict["fovRadius"] / 64.0f * (maxRadius - minRadius) + minRadius;
        agent.speed    = geneDict["speed"] / 32.0f * (maxSpeed - minSpeed) + minSpeed;
        male           = geneDict["sex"] != 0;
    }