public void AddLifeObject(LifeObject lo) { //// //// ///this has been deactivated at root in Life Object constructor //// lock (collectiveListLock) { this._collective.Add(lo); } }
public void RemoveLifeObject(LifeObject lo) { lock (collectiveListLock) { this._collective.Remove(lo); } }
public virtual LifeObject ProduceOffspring() { //throw new Exception("Unhandled Base Offspring production"); var nl = new LifeObject(this._myHive, this._myNetwork.CreateClone()); //this._EctropyIn.Value -= 1; return nl; }