예제 #1
0
        /// <summary>
        /// creates a TMX Tiled Map with a TMX file.
        /// </summary>
        public static CCTMXTiledMap tiledMapWithTMXFile(string tmxFile)
        {
            CCTMXTiledMap pRet = new CCTMXTiledMap();

            if (pRet.initWithTMXFile(tmxFile))
            {
                return(pRet);
            }
            return(null);
        }
예제 #2
0
        public static CCTMXTiledMap tiledMapWithTMXFile(string tmxFile)
        {
            CCTMXTiledMap cCTMXTiledMap = new CCTMXTiledMap();

            if (cCTMXTiledMap.initWithTMXFile(tmxFile))
            {
                return(cCTMXTiledMap);
            }
            return(null);
        }
예제 #3
0
 /// <summary>
 /// creates a TMX Tiled Map with a TMX file.
 /// </summary>
 public static CCTMXTiledMap tiledMapWithTMXFile(string tmxFile)
 {
     CCTMXTiledMap pRet = new CCTMXTiledMap();
     if (pRet.initWithTMXFile(tmxFile))
     {
         return pRet;
     }
     return null;
 }