Пример #1
0
        /// <summary>
        /// singleton of the CCTouchDispatcher
        /// </summary>
        public static CCTouchDispatcher sharedDispatcher()
        {
            // synchronized ??
            if (pSharedDispatcher == null)
            {
                pSharedDispatcher = new CCTouchDispatcher();
                pSharedDispatcher.init();
            }

            return(pSharedDispatcher);
        }