コード例 #1
0
        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);
        }
コード例 #2
0
		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;
		}