public EquippableItemIconTransactionManager(IEqpIITAMConstArg arg) : base(arg.eqpIITAMStateEngine) { thisEquippedItemsPanel = arg.equippedItemsPanel; thisPoolItemsPanel = arg.poolItemsPanel; thishoveredEqpIISwitch = arg.hoveredEqpIISwitch; thisHoveredPanelSwitch = arg.hoveredEqpToolPanelSwitch; thisEqpToolIGManager = arg.eqpToolIGManager; }
public TestEqpIITAM CreateTestEqpIITAM(out IEqpIITAMConstArg arg) { IEqpIITAMConstArg thisArg = CreateStubEqpIITAMConstArg(); TestEqpIITAM testEqpIITAM = new TestEqpIITAM(thisArg); arg = thisArg; return(testEqpIITAM); }
/* */ public EquippableItemIconTransactionManager CreateEqpIITAM(out IEqpIITAMConstArg arg) { IEqpIITAMConstArg thisArg = CreateStubEqpIITAMConstArg(); EquippableItemIconTransactionManager eqpIITAM = new EquippableItemIconTransactionManager(thisArg); arg = thisArg; return(eqpIITAM); }
public IEqpIITAMConstArg CreateStubEqpIITAMConstArg() { IEqpIITAMConstArg arg = Substitute.For <IEqpIITAMConstArg>(); arg.eqpIITAMStateEngine.Returns(Substitute.For <IEqpIITAMStateEngine>()); arg.equippedItemsPanel.Returns(Substitute.For <IEquipToolPanel>()); arg.poolItemsPanel.Returns(Substitute.For <IEquipToolPanel>()); arg.hoveredEqpIISwitch.Returns(Substitute.For <IPickUpReceiverSwitch <IEquippableItemIcon> >()); arg.hoveredEqpToolPanelSwitch.Returns(Substitute.For <IPickUpReceiverSwitch <IEquipToolPanel> >()); IEquipToolIGManager eqpToolIGManager = CreateStubEqpToolIGManager(); arg.eqpToolIGManager.Returns(eqpToolIGManager); return(arg); }
public TestEqpIITAM(IEqpIITAMConstArg arg) : base(arg) { }