Esempio n. 1
0
 public static CCTiledGrid3D Create(CCGridSize gridSize)
 {
     var pRet = new CCTiledGrid3D();
     if (pRet.InitWithSize(gridSize))
     {
         return pRet;
     }
     return null;
 }
Esempio n. 2
0
 public static CCTiledGrid3D Create(CCGridSize gridSize, CCTexture2D pTexture, bool bFlipped)
 {
     var pRet = new CCTiledGrid3D();
     if (pRet.InitWithSize(gridSize, pTexture, bFlipped))
     {
         return pRet;
     }
     return null;
 }
Esempio n. 3
0
        public static new CCTiledGrid3D gridWithSize(ccGridSize gridSize)
        {
            CCTiledGrid3D pRet = new CCTiledGrid3D();

            if (pRet.initWithSize(gridSize))
            {
                return pRet;
            }

            return null;
        }
Esempio n. 4
0
        public static new CCTiledGrid3D gridWithSize(ccGridSize gridSize, CCTexture2D pTexture, bool bFlipped)
        {
            CCTiledGrid3D pRet = new CCTiledGrid3D();

            if (pRet.initWithSize(gridSize, pTexture, bFlipped))
            {
                return pRet;
            }

            return null;
        }
        public static CCTiledGrid3D gridWithSize(ccGridSize gridSize)
        {
            CCTiledGrid3D pRet = new CCTiledGrid3D();

            if (pRet != null)
            {
                if (pRet.initWithSize(gridSize))
                {
                    //pRet->autorelease();
                }
                else
                {
                    //delete pRet;
                    pRet = null;
                }
            }
            return pRet;
        }
        public static CCTiledGrid3D gridWithSize(ccGridSize gridSize, CCTexture2D pTexture, bool bFlipped)
        {
            CCTiledGrid3D pRet = new CCTiledGrid3D();

            if (pRet != null)
            {
                if (pRet.initWithSize(gridSize, pTexture, bFlipped))
                {
                    //pRet->autorelease();
                }
                else
                {
                    //delete pRet;
                    pRet = null;
                }
            }

            return pRet;
        }
Esempio n. 7
0
 public override CCGridBase getGrid()
 {
     return(CCTiledGrid3D.gridWithSize(this.m_sGridSize));
 }