public Genom Mutate() { Genom genom = new Genom(code, rnd); int x = rnd.Next(Width); int y = rnd.Next(Height); genom.code[x, y] = Rnd(); return(genom); }
public Human(Point position, Genom genom, World world) : base(world, position) { stuff = new HandStuff[Enum.GetValues(typeof(Hand)).Length]; this.genom = genom; hp = MaxHp; }