示例#1
0
 public CreatureBirthDataPoint(string _sn, GeneSet _gns, uint _gen, uint _cno, ParentStats _fth, ParentStats _mth)
 {
     sn  = _sn;
     gns = _gns;
     gen = _gen;
     cno = _cno;
     fth = _fth;
     mth = _mth;
 }
示例#2
0
 public CreatureBirthDataPoint(Creature creature)
 {
     sn  = creature.name;
     gns = creature.genes;
     gen = creature.Generation;
     cno = creature.childNo;
     fth = new ParentStats(creature.father);
     mth = new ParentStats(creature.mother);
 }