Пример #1
0
        public void notify()
        {
            CollisionObserver pNode = this.pHead;

            while (pNode != null)
            {
                pNode.notify();

                pNode = (CollisionObserver)pNode.pNext;
            }
        }
        public void notify()
        {
            CollisionObserver colObserver = this.observerRoot;

            Debug.Assert(colObserver != null);

            while (colObserver != null)
            {
                colObserver.notify();
                colObserver = (CollisionObserver)colObserver.pNext;
            }
        }