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

            default:
                return(null);
            }
        }