Example #1
0
        public static void Process()
        {
            // get the singleton
            Debug.Assert(pMan != null);

            ColPair pColPair = (ColPair)pMan.poActive;

            while (pColPair != null)
            {
                pMan.pActiveColPair = pColPair;

                // do the check for a single pair
                pColPair.Process();

                // advance to next
                pColPair = (ColPair)pColPair.pNext;
            }
        }
Example #2
0
        public static void Process()
        {
            // get the singleton
            ColPairManager pMan = ColPairManager.privGetInstance();

            ColPair pColPair = (ColPair)pMan.baseGetActive();

            while (pColPair != null)
            {
                pMan.pActiveColPair = pColPair;

                // do the check for a single pair
                pColPair.Process();

                // advance to next
                pColPair = (ColPair)pColPair.pMNext;
            }
        }
Example #3
0
        public static void Process()
        {
            // get the singleton
            ColPairMan pColPairMan = ColPairMan.privGetInstance();

            ColPair pColPair = (ColPair)pColPairMan.baseGetActive();

            while (pColPair != null)
            {
                // set the current active  <--- Key concept: set this before
                pColPairMan.pActiveColPair = pColPair;

                // do the check for a single pair
                pColPair.Process();

                // advance to next
                pColPair = (ColPair)pColPair.pNext;
            }
        }
Example #4
0
        public static void Process()
        {
            // get the singleton
            ColPairManager pColPairMan = ColPairManager.PrivGetInstance();

            ColPair pColPair = (ColPair)pColPairMan.BaseGetActive();

            while (pColPair != null)
            {
                // set the current active
                pColPairMan.pActiveColPair = pColPair;

                // do the check for a single pair
                pColPair.Process();

                // advance to next
                pColPair = (ColPair)pColPair.GetNext();
            }
        }
Example #5
0
        public static void Process()
        {
            ColPairMan pMan = ColPairMan.PrivGetInstance();

            Debug.Assert(pMan != null);

            ColPair pColPair = (ColPair)pMan.BaseGetActive();

            while (pColPair != null)
            {
                //Set the current to active
                pMan.pActiveColPair = pColPair;

                //do the collision pair
                pColPair.Process();

                //go to next
                pColPair = (ColPair)pColPair.pNext;
            }
        }