Beispiel #1
0
        //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);
        }
Beispiel #2
0
        //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);
        }