public override void notify() { this.pBomb = this.pSubject.pObjA; Debug.Assert(this.pBomb != null); if (pBomb.bMarkForDeath == false) { pBomb.bMarkForDeath = true; // Delay BombExplosionObsever pObserver = new BombExplosionObsever(this); DelayedObjectMan.Attach(pObserver); } }
public BombExplosionObsever(BombExplosionObsever b) { this.pBomb = b.pBomb; }