public override void initWithQuantityOfNodes(int nNodes) { batchNode = CCSpriteBatchNode.batchNodeWithFile("Images/spritesheet1"); addChild(batchNode); NodeChildrenMainScene nodeChildrenMainScene = new NodeChildrenMainScene(); nodeChildrenMainScene.initWithQuantityOfNodes(nNodes); //#if CC_ENABLE_PROFILERS // _profilingTimer = CCProfiler::timerWithName(profilerName().c_str(), this); //#endif CCNode ccnode = new CCNode(); ccnode.scheduleUpdate(); }