//Need so that the cBiota default constructor can make an owner game. public virtual void removeReferencesTo(cCritter pdeadcritter) { _pbiota.removeReferencesTo(pdeadcritter); //works if (!pdeadcritter.IsKindOf("cCritterWall")) _pcollider.removeReferencesTo(pdeadcritter); }
//Need so that the cBiota default constructor can make an owner game. public virtual void removeReferencesTo(cCritter pdeadcritter) { _pbiota.removeReferencesTo(pdeadcritter); //works if (!( pdeadcritter is cCritterWall)) _pcollider.removeReferencesTo(pdeadcritter); }