public override object Copy(ICopyable pZone) { CCBSetSpriteFrame pRet; if (pZone != null) { pRet = (CCBSetSpriteFrame) (pZone); } else { pRet = new CCBSetSpriteFrame(); pZone = (pRet); } pRet.InitWithSpriteFrame(mSpriteFrame); base.Copy(pZone); return pRet; }
/** creates a Place action with a position */ public static CCBSetSpriteFrame Create(CCSpriteFrame pSpriteFrame) { var ret = new CCBSetSpriteFrame(); ret.InitWithSpriteFrame(pSpriteFrame); return ret; }