public static CCTiledGrid3D Create(CCGridSize gridSize) { var pRet = new CCTiledGrid3D(); if (pRet.InitWithSize(gridSize)) { return pRet; } return null; }
public static CCTiledGrid3D Create(CCGridSize gridSize, CCTexture2D pTexture, bool bFlipped) { var pRet = new CCTiledGrid3D(); if (pRet.InitWithSize(gridSize, pTexture, bFlipped)) { return pRet; } return null; }
public static new CCTiledGrid3D gridWithSize(ccGridSize gridSize) { CCTiledGrid3D pRet = new CCTiledGrid3D(); if (pRet.initWithSize(gridSize)) { return pRet; } return null; }
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; }
public override CCGridBase getGrid() { return(CCTiledGrid3D.gridWithSize(this.m_sGridSize)); }