Esempio n. 1
0
        public static void DownloadStory(string name, string chapter, string url)
        {
            NameUrlPair pair = new NameUrlPair();

            pair.chapter = chapter;
            pair.name    = name;
            pair.url     = url;

            HttpDownload.DownloadContent(url, new DownloadComplate(), pair);
        }
Esempio n. 2
0
        public static void Update()
        {
            // Query gamepad for current state
            var gamePadData = GamePad.GetData(0);

            // Query touch for current state
            List <TouchData> touchDataList = Touch.GetData(0);

            // Update UI Toolkit
            UISystem.Update(touchDataList);

            HttpDownload.Update();
        }