public Death(Organism organism, DUpdateState updateState) : base(organism, updateState) { Organism.Death = SimHandler.Instance().Step; Organism.LogSelf(); SimHandler.PopulationHandler().Kill(Organism); }
public Movement(Organism organism, DUpdateState updateState) : base(organism, updateState) { Organism.collider.enabled = true; motor = organism.motor; last = Organism.transform.position; }
public Teen(Organism organism, DUpdateState updateState) : base(organism, updateState) { inner = new Movement(Organism, null); }
public Reproduction(Organism organism, Organism other, DUpdateState updateState, bool isMother) : base(organism, null) { Other = other; IsMother = isMother; }
public State(Organism organism, DUpdateState updateState) { Organism = organism; UpdateState = updateState; }
public Birth(Organism organism, DUpdateState updateState) : base(organism, updateState) { Organism.Name = (++Organism.NumberOfOrganisms).ToString(); Organism.Birth = SimHandler.Instance().Step; }
public Adult(Organism organism, DUpdateState updateState) : base(organism, updateState) { inner = new Movement(Organism, MovementToReproduction); NoNewChild = 0; }
public AutoState(Organism organism, DUpdateState updateState) : base(organism, updateState) { }