Example #1
0
        /// <summary>
        /// allocates a TouchHandler with a delegate and a priority
        /// </summary>
        public static CCTouchHandler Create(ICCTouchDelegate pDelegate, int nPriority)
        {
            var pHandler = new CCTouchHandler();

            pHandler.InitWithDelegate(pDelegate, nPriority);
            return(pHandler);
        }
Example #2
0
 /// <summary>
 /// allocates a TouchHandler with a delegate and a priority 
 /// </summary>
 public static CCTouchHandler Create(ICCTouchDelegate pDelegate, int nPriority)
 {
     var pHandler = new CCTouchHandler();
     pHandler.InitWithDelegate(pDelegate, nPriority);
     return pHandler;
 }