Пример #1
0
 public static CCLayer createTestCaseLayer(int index)
 {
     switch (index)
     {
         case 0:
             {
                 Director1 pRet = new Director1();
                 pRet.init();
                 return pRet;
             }
         default:
             return null;
     }
 }
Пример #2
0
        public static CCLayer createTestCaseLayer(int index)
        {
            switch (index)
            {
            case 0:
            {
                Director1 pRet = new Director1();
                pRet.init();
                return(pRet);
            }

            default:
                return(null);
            }
        }