public void Init(PgController pgController, AIController aiController, MerchantController merchantController, IMapViewer mapViewer, IAtomListener singleMsgListener, IAnimationViewer animationViewer, List <IPgViewer> pgViewers, List <IAtomListener> atomListeners, List <ISheetViewer> sheetViews, List <IBackpackViewer> backpackViewers, List <ISpellbookViewer> spellbookViewers, List <IAtomListener> secondarySpellsViewers, List <IMerchantViewer> merchantViewers, IMenuViewer mainMenuViewer, MenuController mainMenuController) { CreateFolders(); this.pgController = pgController; this.aiController = aiController; this.merchantController = merchantController; this.mapViewer = mapViewer; this.singleMsgListener = singleMsgListener; this.animationViewer = animationViewer; this.pgViewers = pgViewers; this.atomListeners = atomListeners; this.sheetViews = sheetViews; this.backpackViewers = backpackViewers; this.spellbookViewers = spellbookViewers; this.secondarySpellsViewers = secondarySpellsViewers; this.merchantViewers = merchantViewers; menuViewers = new Dictionary <MenuType, IMenuViewer>(); menuControllers = new Dictionary <MenuType, MenuController>(); menuViewers[MenuType.Main] = mainMenuViewer; menuControllers[MenuType.Main] = mainMenuController; }
public void Init( PgController pgController, AIController aiController, MerchantController merchantController, IMapViewer mapViewer, IAtomListener singleMsgListener, IAnimationViewer animationViewer, List<IPgViewer> pgViewers, List<IAtomListener> atomListeners, List<ISheetViewer> sheetViews, List<IBackpackViewer> backpackViewers, List<ISpellbookViewer> spellbookViewers, List<IAtomListener> secondarySpellsViewers, List<IMerchantViewer> merchantViewers, IMenuViewer mainMenuViewer, MenuController mainMenuController) { CreateFolders(); this.pgController = pgController; this.aiController = aiController; this.merchantController = merchantController; this.mapViewer = mapViewer; this.singleMsgListener = singleMsgListener; this.animationViewer = animationViewer; this.pgViewers = pgViewers; this.atomListeners = atomListeners; this.sheetViews = sheetViews; this.backpackViewers = backpackViewers; this.spellbookViewers = spellbookViewers; this.secondarySpellsViewers = secondarySpellsViewers; this.merchantViewers = merchantViewers; menuViewers = new Dictionary<MenuType, IMenuViewer>(); menuControllers = new Dictionary<MenuType, MenuController>(); menuViewers[MenuType.Main] = mainMenuViewer; menuControllers[MenuType.Main] = mainMenuController; }