public override void RestartCallback(object sender) { CCScene s = new TileMapTestScene(); s.AddChild(TileMapTestScene.restartTileMapAction()); Director.ReplaceScene(s); }
public void restartCallback(CCObject pSender) { CCScene s = new TileMapTestScene(); s.addChild(TileMapTestScene.restartTileMapAction()); CCDirector.sharedDirector().replaceScene(s); }