private void ReGenerateADN(LifeFormTypes aLifeFormType, DNASequence aDna) { if (dna != null) { dna = new DNASequence(dna); } else { dna = new DNASequence(aLifeFormType); } }
protected override void setScanSequence(DNASequence sequenceToScan) { this.scanSequence = sequenceToScan; }
public Scan4(DNASequence sequenceToScan) { setScanSequence(sequenceToScan); }
public EnvironmentLifeForm(LifeForm aMaster, LifeFormTypes aLifeFormType, DNASequence aDna) : base(aMaster, aLifeFormType, aDna) { BeginMainTask(); }
public DNASequenceResult(string returningAnswer, DNASequence returningSequence) { this.answer = returningAnswer; this.resultSequence = returningSequence; }
public LifeForm(LifeForm aMaster, LifeFormTypes aLifeFormType, DNASequence aDna) { _Master = aMaster; LfType = aLifeFormType; ReGenerateADN(aLifeFormType, aDna); }
protected abstract void setScanSequence(DNASequence sequenceToScan);
public FoodLifeForm(LifeForm aMaster, LifeFormTypes aLifeFormType, DNASequence aDna) : base(aMaster, aLifeFormType, aDna) { FoodValue = GetAttribute(SkillTypes.FoodProductionRate); BeginMainTask(); }