public static CCScene GetScene(CCWindow mainWindow) { CCScene scene = new CCScene(mainWindow); CCLayer layer = new TheMenu(mainWindow.WindowSizeInPixels); // add layer as a child to scene scene.AddChild(layer); // return the scene return(scene); }
public static CCScene GetScene(CCWindow mainWindow) { CCScene scene = new CCScene(mainWindow); CCLayer layer = new TheMenu(mainWindow.WindowSizeInPixels); // add layer as a child to scene scene.AddChild(layer); // return the scene return scene; }