Пример #1
0
        public void ProsCase(string url, string pass)
        {
            switch (typesite)
            {
            case SiteDetecter.TypeSite.Instagram:
                items = InstaPhotos.GetLinks(url);
                break;

            case SiteDetecter.TypeSite.PicoFile:
                items = PicoFile.GetLinks(url, pass);
                break;

            case SiteDetecter.TypeSite.Xnxx:
                items = Xnxx.GetLinks(url);
                break;

            case SiteDetecter.TypeSite.Dropbox:
                items = Dropbox.GetLinks(url);
                break;

            case SiteDetecter.TypeSite.RGhost:
                items = RGhost.GetLinks(url);
                break;

            case SiteDetecter.TypeSite._30Nama:
                items = _30Nama.GetLinks(url);
                break;
            }

            PrintItems(items);
        }
Пример #2
0
        public static List <Item> GetList(string url, string pass, SiteDetecter.TypeSite typesite)
        {
            List <Item> items = new List <Item>();

            switch (typesite)
            {
            case SiteDetecter.TypeSite.Instagram:
                items = InstaPhotos.GetLinks(url);
                break;

            case SiteDetecter.TypeSite.PicoFile:
                items = PicoFile.GetLinks(url, pass);
                break;

            case SiteDetecter.TypeSite.Xnxx:
                items = Xnxx.GetLinks(url);
                break;

            case SiteDetecter.TypeSite.Dropbox:
                items = Dropbox.GetLinks(url);
                break;

            case SiteDetecter.TypeSite.RGhost:
                items = RGhost.GetLinks(url);
                break;

            case SiteDetecter.TypeSite._30Nama:
                items = _30Nama.GetLinks(url);
                break;
            }
            return(items);
        }
Пример #3
0
        //public Ghost[] ghostsList;

        public GameField()
        {
            pacMan = new PacMan();
            GGhost = new GGhost("G");
            BGhost = new BGhost();
            PGhost = new PGhost();
            RGhost = new RGhost();
            //ghostsList = new Ghost[]
            //{
            //     new Ghost("G"),
            //     new Ghost("R"),
            //     new Ghost("B"),
            //     new Ghost("P")
            //};
        }