Exemple #1
0
 public SocketingViewController(IItemUpgradeView view, IItemRepository itemRepository,
                                CharacterManager characterManager) : base(I18N.Instance.Get("ui_socketing"), view, characterManager)
 {
     this.itemRepository = itemRepository;
 }
Exemple #2
0
 public RemoveGemsViewController(IItemUpgradeView view, IItemRepository itemRepository,
                                 CharacterManager characterManager) : base(I18N.Instance.Get("ui_remove_gems"), view, characterManager)
 {
     this.itemRepository = itemRepository;
     this.inventory      = characterManager.Character.Entity.GetComponent <InventoryComponent>();
 }