Exemplo n.º 1
0
    private void Reproduce()
    {
        if (sex == BiologicalSex.Female)
        {
            AnimalFactory.CreateBabyHawk(dna, mate.GetComponent <Hawk>().dna, transform);
        }

        mate             = null;
        mateOnSight      = false;
        reproductionUrge = 0;
        state            = State.Nourished;
    }