Beispiel #1
0
        /// <summary>
        /// перевод из состояния 60 в состояние 80. Цель  - передача песо торговцу
        /// </summary>
        public void StateTransferVis()
        {
            botWindow dealer = new botWindow(20);                                           //торговец

            StateDriverRun(new StateGT060(this.botwindow), new StateGT063(this.botwindow)); // бот из логаута в город  (канал 3)

            StateDriverRun(new StateGT068(this.botwindow), new StateGT069(this.botwindow)); // бот бежит на место торговли и предлагает торговлю торговцу
            StateDriverRun(new StateGT069(dealer), new StateGT070(dealer));                 // торговец перекладывает фесо и ок-обмен

            StateDriverRun(new StateGT070(this.botwindow), new StateGT072(this.botwindow)); // бот перекладывает песо, закрывает сделку, покупает еду и логаут
            StateDriverRun(new StateGT072(dealer), new StateGT073(dealer));                 // торговец закрывает все лишние окна с экрана
        }
        public StateGT257(botWindow botwindow)   //, GotoTrade gototrade)
        {
            this.botwindow = botwindow;
            ServerFactory serverFactory = new ServerFactory(botwindow);

            this.server = serverFactory.create();   // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг)
            DialogFactory dialogFactory = new DialogFactory(botwindow);

            dialog           = dialogFactory.createDialog();
            this.tekStateInt = 257;
            //this.resultat = true;
        }
Beispiel #3
0
        public StateGT096(botWindow botwindow)
        {
            this.botwindow = botwindow;
            ServerFactory serverFactory = new ServerFactory(botwindow);

            this.server = serverFactory.create();                 // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг)
            DialogFactory dialogFactory = new DialogFactory(botwindow);

            this.dialog = dialogFactory.createDialog();

            this.tekStateInt = 96;
        }
Beispiel #4
0
        public StateGT088(botWindow botwindow)   //, GotoTrade gototrade)
        {
            this.botwindow = botwindow;
            ServerFactory serverFactory = new ServerFactory(botwindow);

            this.server = serverFactory.create();   // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг)
            OtitFactory otitFactory = new OtitFactory(botwindow);

            this.otit = otitFactory.createOtit();

            this.tekStateInt = 88;
        }
Beispiel #5
0
        public StateGT011(botWindow botwindow)   //, GotoTrade gototrade)
        {
            this.botwindow = botwindow;
            ServerFactory serverFactory = new ServerFactory(botwindow);

            this.server = serverFactory.create();   // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг)
            this.town   = server.getTown();
            MarketFactory marketFactory = new MarketFactory(botwindow);

            this.market      = marketFactory.createMarket();
            this.tekStateInt = 11;
        }
        public BHDialogAmerica(botWindow botwindow)
        {
            #region общие

            this.botwindow = botwindow;
            this.xx        = botwindow.getX();
            this.yy        = botwindow.getY();

            #endregion

            this.ButtonOkDialog = new Point(953 - 5 + xx, 369 - 5 + yy);                           //нажимаем на Ок в диалоге
        }
Beispiel #7
0
        public StateGT085(botWindow botwindow)   //, GotoTrade gototrade)
        {
            this.botwindow = botwindow;
            ServerFactory serverFactory = new ServerFactory(botwindow);

            this.server = serverFactory.create();   // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг)
            GoldenEggFactory goldenEggFactory = new GoldenEggFactory(botwindow);

            this.goldenEgg = goldenEggFactory.create();

            this.tekStateInt = 85;
        }
Beispiel #8
0
        public DriversOfState(int numberOfWindow)
        {
            this.botwindow = new botWindow(numberOfWindow);
            ServerFactory serverFactory = new ServerFactory(botwindow);

            this.server = serverFactory.create();   // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг)
            OtitFactory otitFactory = new OtitFactory(botwindow);

            this.otit        = otitFactory.createOtit();
            this.botParam    = new BotParam(numberOfWindow); //сделали экземпляр класса
            this.globalParam = new GlobalParam();            //сделали экземпляр класса
        }
        public GoldenEggEuropa(botWindow botwindow)
        {
            #region общие

            this.botwindow = botwindow;
            this.xx        = botwindow.getX();
            this.yy        = botwindow.getY();

            #endregion

            DialogFactory dialogFactory = new DialogFactory(this.botwindow);
            dialog = dialogFactory.createDialog();
        }
Beispiel #10
0
        public StateGT070(botWindow botwindow)   //, GotoTrade gototrade)
        {
            this.botwindow     = botwindow;
            this.serverFactory = new ServerFactory(botwindow);
            this.server        = serverFactory.create(); // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг)
            //this.town = server.getTown();
//            this.botwindowDealer = new botWindow(20);         // здесь методы торговца как у обычного бота
            this.dealer        = new botWindow(20);      // здесь уникальные методы, присущие только торговцу
            this.serverFactory = new ServerFactory(dealer);
            this.serverDealer  = serverFactory.create(); // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг)

            this.tekStateInt = 70;
        }
Beispiel #11
0
        public StateGT324(botWindow botwindow)
        {
            this.botwindow = botwindow;
            ServerFactory serverFactory = new ServerFactory(botwindow);

            this.server = serverFactory.create();   // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг)
//            this.town = server.getTown();
            this.town = server.getTownBegin();
            DialogFactory dialogFactory = new DialogFactory(botwindow);

            dialog           = dialogFactory.createDialog();
            this.tekStateInt = 324;
        }
Beispiel #12
0
        public DialogSing(botWindow botwindow)
        {
            #region общие

            this.botwindow = botwindow;
            this.xx        = botwindow.getX();
            this.yy        = botwindow.getY();

            #endregion

            this.ButtonOkDialog = new Point(930 - 5 + xx, 680 - 5 + yy);                           //нажимаем на Ок в диалоге
            this.pointDialog1   = new PointColor(907 - 5 + xx, 675 - 5 + yy, 7700000, 5);
            this.pointDialog2   = new PointColor(907 - 5 + xx, 676 - 5 + yy, 7700000, 5);
        }
        public BulletDialogAmerica(botWindow botwindow)
        {
            #region общие

            this.botwindow = botwindow;
            this.xx        = botwindow.getX();
            this.yy        = botwindow.getY();

            #endregion

            this.ButtonOkDialog = new Point(978 - 30 + xx, 394 - 30 + yy);                           //кнопка Ок в диалоге
            this.pointDialog1   = new PointColor(979 - 30 + xx, 390 - 30 + yy, 7700000, 5);
            this.pointDialog2   = new PointColor(979 - 30 + xx, 391 - 30 + yy, 7700000, 5);
        }
Beispiel #14
0
        public StateGT077(botWindow botwindow)   //, GotoTrade gototrade)
        {
            this.botwindow = botwindow;
            ServerFactory serverFactory = new ServerFactory(botwindow);

            this.server = serverFactory.create();   // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг)
            this.town   = server.getTown();
            OtitFactory otitFactory = new OtitFactory(botwindow);

            this.otit = otitFactory.createOtit();
            DialogFactory dialogFactory = new DialogFactory(botwindow);

            this.dialog      = dialogFactory.createDialog();
            this.tekStateInt = 77;
        }
Beispiel #15
0
        public StateGT157(botWindow botwindow)
        {
            this.botwindow = botwindow;
            ServerFactory serverFactory = new ServerFactory(botwindow);

            this.server = serverFactory.create();   // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг)
            KatoviaMarketFactory marketFactory = new KatoviaMarketFactory(botwindow);

            this.market = marketFactory.createMarket();
            DialogFactory dialogFactory = new DialogFactory(botwindow);

            this.dialog = dialogFactory.createDialog();

            this.tekStateInt = 157;
        }
Beispiel #16
0
        public MMAmerica2(botWindow botwindow)
        {
            #region общие

            this.botwindow = botwindow;
            this.xx        = botwindow.getX();
            this.yy        = botwindow.getY();

            #endregion

            pointIsMMSell1          = new PointColor(549 - 5 + xx, 606 - 5 + yy, 4370000, 4);
            pointIsMMSell2          = new PointColor(549 - 5 + xx, 607 - 5 + yy, 4370000, 4);
            pointIsMMBuy1           = new PointColor(572 - 5 + xx, 604 - 5 + yy, 7850000, 4);
            pointIsMMBuy2           = new PointColor(572 - 5 + xx, 605 - 5 + yy, 7850000, 4);
            pointGotoBuySell        = new Point(670 - 5 + xx, 181 - 5 + yy);
            pointInitializeButton   = new Point(670 - 5 + xx, 207 - 5 + yy);
            pointSearchButton       = new Point(670 - 5 + xx, 232 - 5 + yy);
            pointSearchString       = new Point(430 - 5 + xx, 207 - 5 + yy);
            pointIsFirstString1     = new PointColor(232 - 5 + xx, 292 - 5 + yy, 12000000, 6);
            pointIsFirstString2     = new PointColor(283 - 5 + xx, 301 - 5 + yy, 12000000, 6);
            pointQuantity1          = new Point(225 - 5 + xx, 240 - 5 + yy);
            pointQuantity2          = new Point(185 - 5 + xx, 240 - 5 + yy);
            pointPrice              = new Point(185 - 5 + xx, 265 - 5 + yy);
            pointShadow             = new Point(485 - 5 + xx, 265 - 5 + yy);
            pointTime               = new Point(462 - 5 + xx, 240 - 5 + yy);
            pointTime48Hours        = new Point(375 - 5 + xx, 260 - 5 + yy);
            pointTime               = new Point(462 - 5 + xx, 240 - 5 + yy);
            pointButtonRegistration = new Point(670 - 5 + xx, 265 - 5 + yy);
            pointYesRegistration    = new Point(470 - 5 + xx, 420 - 5 + yy);
            pointOkRegistration     = new Point(525 - 5 + xx, 455 - 5 + yy);
            pointIsHideFamily1      = new PointColor(483 - 5 + xx, 267 - 5 + yy, 11700000, 5);
            pointIsHideFamily2      = new PointColor(485 - 5 + xx, 267 - 5 + yy, 11200000, 5);
            //pointFirstStringList = new Point(115 - 5 + xx, 333 - 5 + yy);
            //pointLastStringList = new Point(115 - 5 + xx, 576 - 5 + yy);             //последняя строка списка выставленных на рынок товаров

            product = new Product();
            //String fileName = "C:\\!! Суперпрограмма V&K\\Продукт.txt";
            //product.Name = LoadProduct(fileName)[0];
            //product.Quantity = int.Parse(LoadProduct(fileName)[1]);
            //product.MinPrice = int.Parse(LoadProduct(fileName)[2]);
            //product.Row = int.Parse(LoadProduct(fileName)[3]);
            //product.Column = int.Parse(LoadProduct(fileName)[4]);


            // ============  методы  ========================
        }
Beispiel #17
0
        public OtitSing(botWindow botwindow)
        {
            #region общие

            this.botwindow = botwindow;
            this.xx        = botwindow.getX();
            this.yy        = botwindow.getY();

            #endregion

            ServerFactory serverFactory = new ServerFactory(botwindow);
            this.server = serverFactory.create();   // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг)
            this.town   = server.getTown();
            DialogFactory dialogFactory = new DialogFactory(this.botwindow);
            dialog = dialogFactory.createDialog();

            this.pointOldMan1 = new PointColor(907 - 5 + xx, 675 - 5 + yy, 7800000, 5);
            this.pointOldMan2 = new PointColor(907 - 5 + xx, 676 - 5 + yy, 7800000, 5);

            this.pointTask1 = new PointColor(948 - 30 + xx, 403 - 30 + yy, 8300000, 5);
            this.pointTask2 = new PointColor(948 - 30 + xx, 404 - 30 + yy, 8300000, 5);

            this.pointGetTask1 = new PointColor(824 - 5 + xx, 379 - 5 + yy, 16100000, 5);
            this.pointGetTask2 = new PointColor(824 - 5 + xx, 380 - 5 + yy, 16100000, 5);

            //this.pointIsOpenMap1 = new PointColor(484 - 30 + xx, 129 - 30 + yy, 8549475, 0);
            //this.pointIsOpenMap2 = new PointColor(490 - 30 + xx, 129 - 30 + yy, 8549475, 0);
            this.pointIsOpenMap1 = new PointColor(156 - 5 + xx, 208 - 5 + yy, 7000000, 6);
            this.pointIsOpenMap2 = new PointColor(156 - 5 + xx, 209 - 5 + yy, 7000000, 6);

            this.pointIsPerfume1 = new PointColor(0 - 5 + xx, 0 - 5 + yy, 7000000, 6);   //не готово
            this.pointIsPerfume2 = new PointColor(0 - 5 + xx, 0 - 5 + yy, 7000000, 6);

            this.pointIsNearOldMan = new PointColor(951 - 5 + xx, 127 - 5 + yy, 3819200, 0);


            this.pointMamons          = new Point(526 - 5 + xx, 262 - 5 + yy);
            this.pointOldMan          = new Point(531 - 5 + xx, 313 - 5 + yy);
            this.pointOldManOnMap     = new Point(740 - 5 + xx, 212 - 5 + yy);
            this.pointButtonMoveOnMap = new Point(835 - 5 + xx, 635 - 5 + yy);

            this.numberOfRoute = NumberOfRoute();
            //this.CounterRouteNode = 0;
        }
Beispiel #18
0
        public PetAmerica(botWindow botwindow)
        {
            #region общие

            this.botwindow = botwindow;
            this.xx        = botwindow.getX();
            this.yy        = botwindow.getY();

            #endregion

            #region Pet

            //this.pointisOpenMenuPet1 = new PointColor(466 + xx, 214 + yy, 12500000, 5);      //471 - 5, 219 - 5, 12500000, 472 - 5, 219 - 5, 12500000, 5);
            //this.pointisOpenMenuPet2 = new PointColor(467 + xx, 214 + yy, 12500000, 5);
            //this.pointisSummonPet1 = new PointColor(401 - 5 + xx, 362 - 5 + yy, 7630000, 4);      //401 - 5, 362 - 5, 7630000, 401 - 5, 364 - 5, 7560000, 4);
            //this.pointisSummonPet2 = new PointColor(401 - 5 + xx, 364 - 5 + yy, 7560000, 4);
            //this.pointisActivePet1 = new PointColor(495 - 5 + xx, 310 - 5 + yy, 13200000, 5);      //495 - 5, 310 - 5, 13200000, 496 - 5, 308 - 5, 13600000, 5);
            //this.pointisActivePet2 = new PointColor(496 - 5 + xx, 308 - 5 + yy, 13600000, 5);
            //this.pointisActivePet3 = new PointColor(828 - 5 + xx, 186 - 5 + yy, 13000000, 5);     //для америки пока не нужно
            //this.pointisActivePet4 = new PointColor(829 - 5 + xx, 185 - 5 + yy, 13100000, 5);     //для америки пока не нужно. еда на месяц
            //this.pointCancelSummonPet = new Point(408 + xx, 390 + yy);  //400, 190
            //this.pointSummonPet1 = new Point(569 + xx, 375 + yy);                   // 569, 375   //Click Pet
            //this.pointSummonPet2 = new Point(408 + xx, 360 + yy);                   // 408, 360   //Click кнопку "Summon"
            //this.pointActivePet = new Point(408 + xx, 405 + yy);                   // 408, 405);  //Click Button Active Pet


            this.pointisSummonPet1    = new PointColor(511 - 5 + xx, 282 - 5 + yy, 13000000, 6);
            this.pointisSummonPet2    = new PointColor(511 - 5 + xx, 283 - 5 + yy, 13000000, 6);
            this.pointisActivePet1    = new PointColor(496 - 5 + xx, 307 - 5 + yy, 13000000, 6);
            this.pointisActivePet2    = new PointColor(496 - 5 + xx, 308 - 5 + yy, 13000000, 6);
            this.pointisActivePet3    = new PointColor(829 - 5 + xx, 186 - 5 + yy, 12000000, 6); // для проверки периодической еды на месяц                                      //не проверено
            this.pointisActivePet4    = new PointColor(829 - 5 + xx, 185 - 5 + yy, 12000000, 6); // для проверки периодической еды на месяц
            this.pointisOpenMenuPet1  = new PointColor(474 - 5 + xx, 211 - 5 + yy, 8000000, 6);
            this.pointisOpenMenuPet2  = new PointColor(475 - 5 + xx, 211 - 5 + yy, 8000000, 6);
            this.pointCancelSummonPet = new Point(410 - 5 + xx, 390 - 5 + yy);   //750, 265                    //проверено
            this.pointSummonPet1      = new Point(540 - 5 + xx, 380 - 5 + yy);   // 868, 258   //Click Pet
            this.pointSummonPet2      = new Point(467 - 5 + xx, 360 - 5 + yy);   // 748, 238   //Click кнопку "Summon"
            this.pointActivePet       = new Point(410 - 5 + xx, 410 - 5 + yy);   // //Click Button Active Pet                            //проверено

            #endregion
        }
Beispiel #19
0
        public MMSing(botWindow botwindow)
        {
            #region общие

            this.botwindow = botwindow;
            this.xx        = botwindow.getX();
            this.yy        = botwindow.getY();

            #endregion

            pointIsMMSell1          = new PointColor(549 - 5 + xx, 606 - 5 + yy, 4370000, 4);
            pointIsMMSell2          = new PointColor(549 - 5 + xx, 607 - 5 + yy, 4370000, 4);
            pointIsMMBuy1           = new PointColor(572 - 5 + xx, 604 - 5 + yy, 7850000, 4);
            pointIsMMBuy2           = new PointColor(572 - 5 + xx, 605 - 5 + yy, 7850000, 4);
            pointGotoBuySell        = new Point(670 - 5 + xx, 181 - 5 + yy);
            pointInitializeButton   = new Point(670 - 5 + xx, 207 - 5 + yy);
            pointSearchButton       = new Point(670 - 5 + xx, 232 - 5 + yy);
            pointSearchString       = new Point(430 - 5 + xx, 207 - 5 + yy);
            pointIsFirstString1     = new PointColor(232 - 5 + xx, 292 - 5 + yy, 12000000, 6);
            pointIsFirstString2     = new PointColor(283 - 5 + xx, 301 - 5 + yy, 12000000, 6);
            pointQuantity1          = new Point(225 - 5 + xx, 240 - 5 + yy);
            pointQuantity2          = new Point(185 - 5 + xx, 240 - 5 + yy);
            pointPrice              = new Point(185 - 5 + xx, 265 - 5 + yy);
            pointShadow             = new Point(485 - 5 + xx, 265 - 5 + yy);
            pointTime               = new Point(462 - 5 + xx, 240 - 5 + yy);
            pointTime48Hours        = new Point(375 - 5 + xx, 260 - 5 + yy);
            pointTime               = new Point(462 - 5 + xx, 240 - 5 + yy);
            pointButtonRegistration = new Point(670 - 5 + xx, 265 - 5 + yy);
            pointYesRegistration    = new Point(470 - 5 + xx, 420 - 5 + yy);
            pointOkRegistration     = new Point(525 - 5 + xx, 455 - 5 + yy);
            pointIsHideFamily1      = new PointColor(483 - 5 + xx, 267 - 5 + yy, 11700000, 5);
            pointIsHideFamily2      = new PointColor(485 - 5 + xx, 267 - 5 + yy, 11200000, 5);
            //pointFirstStringList = new Point(115 - 5 + xx, 333 - 5 + yy);
            //pointLastStringList = new Point(115 - 5 + xx, 576 - 5 + yy);             //последняя строка списка выставленных на рынок товаров

            product = new Product();



            // ============  методы  ========================
        }
Beispiel #20
0
        public BHDialogSing(botWindow botwindow)
        {
            #region общие

            this.botwindow = botwindow;
            this.xx        = botwindow.getX();
            this.yy        = botwindow.getY();

            #endregion

            this.ButtonOkDialog = new Point(953 - 5 + xx, 369 - 5 + yy);                           //нажимаем на Ок в диалоге

            //проверяем наличие кнопки Ок в открытом диалоге
            this.pointsBottonGateBH1 = new PointColor(979 - 30 + xx, 390 - 30 + yy, 7700000, 5);            //Ok
            this.pointsBottonGateBH2 = new PointColor(979 - 30 + xx, 391 - 30 + yy, 7700000, 5);            //Ok

            //проверяем то состояние ворот, где написано "You currently have N tries remaining" (N = 1..5)
            this.pointsGateBH1 = new PointColor(891 - 5 + xx, 313 - 5 + yy, 4210914, 0);            //буква i в times

            //проверяем то состояние ворот, где написано "You have used up your daily entry count."
            this.pointsGateBH3 = new PointColor(860 - 5 + xx, 335 - 5 + yy, 4210914, 0);           //буква i в слове daily

            pointInputBox         = new Point(310 - 30 + xx, 675 - 30 + yy);                       //нажимаем на поле ввода
            pointInputBoxBottonOk = new Point(933 - 30 + xx, 704 - 30 + yy);                       //нажимаем на Ок в диалоге (Initialize)

            //уровень ворот меньше 10 ???
            this.pointsIsLess11_1 = new PointColor(687 - 5 + xx, 259 - 5 + yy, 12700000, 5);               // буква Y в слове Your
            //уровень ворот от 11 до 19 ???
            this.pointsIsLevelfrom11to19_1 = new PointColor(682 - 5 + xx, 221 - 5 + yy, 12700000, 5);      // буква Y в слове Your
            this.pointsIsLevelfrom11to19_2 = new PointColor(864 - 5 + xx, 226 - 5 + yy, 4270000, 4);       // красная цифра 1
            //уровень ворот от 20 и выше ???
            this.pointsIsLevelAbove20_1 = new PointColor(682 - 5 + xx, 221 - 5 + yy, 12700000, 5);         // буква Y в слове Your
            this.pointsIsLevelAbove20_2 = new PointColor(860 - 5 + xx, 233 - 5 + yy, 4670000, 4);          // красная цифра 2

            //проверяем экран, на котором надо вводить слово Initialize
            this.pointIsInitialize1 = new PointColor(673 - 5 + xx, 613 - 5 + yy, 4671486, 0);         // буква I в слове Initialize
            this.pointIsInitialize2 = new PointColor(673 - 5 + xx, 614 - 5 + yy, 4671486, 0);         // буква I в слове Initialize
        }
Beispiel #21
0
        public OtitAmerica2(botWindow botwindow)
        {
            #region общие

            this.botwindow = botwindow;
            this.xx        = botwindow.getX();
            this.yy        = botwindow.getY();

            #endregion

            //this.server = botwindow.getserver();
            ServerFactory serverFactory = new ServerFactory(botwindow);
            this.server = serverFactory.create();   // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг)

            this.town = server.getTown();
            DialogFactory dialogFactory = new DialogFactory(this.botwindow);
            dialog = dialogFactory.createDialog();

            this.pointOldMan1 = new PointColor(907 - 5 + xx, 675 - 5 + yy, 7800000, 5);
            this.pointOldMan2 = new PointColor(907 - 5 + xx, 676 - 5 + yy, 7800000, 5);

            this.pointTask1 = new PointColor(928 - 5 + xx, 360 - 5 + yy, 8200000, 5);
            this.pointTask2 = new PointColor(928 - 5 + xx, 361 - 5 + yy, 8200000, 5);

            this.pointGetTask1     = new PointColor(824 - 5 + xx, 379 - 5 + yy, 258, 0);
            this.pointGetTask2     = new PointColor(824 - 5 + xx, 380 - 5 + yy, 258, 0);
            this.pointIsOpenMap1   = new PointColor(484 - 30 + xx, 129 - 30 + yy, 8549475, 0);
            this.pointIsOpenMap2   = new PointColor(490 - 30 + xx, 129 - 30 + yy, 8549475, 0);
            this.pointIsNearOldMan = new PointColor(951 - 5 + xx, 127 - 5 + yy, 3819200, 0);


            this.pointMamons          = new Point(526 - 5 + xx, 262 - 5 + yy);
            this.pointOldMan          = new Point(531 - 5 + xx, 343 - 5 + yy);
            this.pointOldManOnMap     = new Point(740 - 5 + xx, 212 - 5 + yy);
            this.pointButtonMoveOnMap = new Point(835 - 5 + xx, 635 - 5 + yy);
        }
        /// <summary>
        /// создаёт экземпляр класса для SingTown
        /// </summary>
        /// <param name="nomerOfTown"> номер города </param>
        /// <param name="nomerOfWindow"> номер окна по порядку </param>
        /// <returns></returns>

        public SingTownFactory(botWindow botwindow)
        {
            this.botwindow = botwindow;
        }
Beispiel #23
0
        public StateGT529(botWindow botwindow)
        {
            this.botwindow = botwindow;

            this.tekStateInt = 529;
        }
Beispiel #24
0
 public OtitFactory(botWindow botwindow)
 {
     this.botwindow = botwindow;
 }
 public DriversOfState(int numberOfWindow)
 {
     botwindow = new botWindow(numberOfWindow);
 }
 public Europa2TownFactory(botWindow botwindow)
 {
     this.botwindow = botwindow;
 }
Beispiel #27
0
        /// <summary>
        /// перевод из состояния 60 в состояние 80. Цель  - передача песо торговцу
        /// </summary>
        public void StateTransferVisChapter1()
        {
            botWindow dealer = new botWindow(20);                           //торговец

            StateDriverRun(new StateGT060(dealer), new StateGT065(dealer)); // торговец из логаута в город  (канал 3) и далее на место передачи песо
        }
Beispiel #28
0
        public StateGT531(botWindow botwindow)
        {
            this.botwindow = botwindow;

            this.tekStateInt = 531;
        }
Beispiel #29
0
 public StateGT499(botWindow botwindow)
 {
     this.botwindow   = botwindow;
     this.tekStateInt = 499;
 }
Beispiel #30
0
 public MMFactory(botWindow botwindow)
 {
     this.botwindow = botwindow;
 }