Beispiel #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);
        }
Beispiel #2
0
        public static CCTMXTiledMap tiledMapWithTMXFile(string tmxFile)
        {
            CCTMXTiledMap cCTMXTiledMap = new CCTMXTiledMap();

            if (cCTMXTiledMap.initWithTMXFile(tmxFile))
            {
                return(cCTMXTiledMap);
            }
            return(null);
        }
Beispiel #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;
 }
Beispiel #4
0
 /// <summary>
 /// creates a TMX Tiled Map with a TMX file.
 /// </summary>
 public static CCTMXTiledMap Create(string tmxFile)
 {
     var pRet = new CCTMXTiledMap();
     pRet.InitWithTmxFile(tmxFile);
     return pRet;
 }