public StateGT751(botWindow botwindow) { this.botwindow = botwindow; OtitFactory otitFactory = new OtitFactory(botwindow); this.otit = otitFactory.createOtit(); DialogFactory dialogFactory = new DialogFactory(botwindow); this.dialog = dialogFactory.createDialog(); this.tekStateInt = 751; }
public StateGT078(botWindow botwindow) { this.botwindow = botwindow; ServerFactory serverFactory = new ServerFactory(botwindow); this.server = serverFactory.create(); // создали конкретный экземпляр класса server по паттерну "простая Фабрика" (Америка, Европа или Синг) OtitFactory otitFactory = new OtitFactory(botwindow); this.otit = otitFactory.createOtit(); this.tekStateInt = 78; }
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); //сделали экземпляр класса }
public StateGT075(botWindow botwindow) //, GotoTrade gototrade) { this.botwindow = botwindow; OtitFactory otitFactory = new OtitFactory(botwindow); this.otit = otitFactory.createOtit(); DialogFactory dialogFactory = new DialogFactory(botwindow); this.dialog = dialogFactory.createDialog(); this.tekStateInt = 75; }
public StateGT086(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(); DialogFactory dialogFactory = new DialogFactory(botwindow); this.dialog = dialogFactory.createDialog(); this.tekStateInt = 86; }