public RangeWeaponViewModel(ILoot loot, bool is_info) : base(loot, is_info) { Player = Player.Instance; RepairViewModel = new RepairViewModel(loot, is_info); ItemTag tag = (loot.Item as RangeWeapon).Ammo; Ammo = new LootItem(ItemFactory.GetItem(tag), Player.Inventory.GetCount(tag)); }
public BagViewModel(ILoot loot, bool is_info) : base(loot, is_info) { RepairViewModel = new RepairViewModel(loot, is_info); EquipViewModel = new EquipViewModel(Loot, is_info); }
public ArmorViewModel(ILoot loot, bool is_info) : base(loot, is_info) { EquipViewModel = new EquipViewModel(loot, is_info); RepairViewModel = new RepairViewModel(loot, is_info); }
public FishingrodViewModel(ILoot loot, bool is_info) : base(loot, is_info) { CatchFishCommand = new Command(CatchFish); RepairViewModel = new RepairViewModel(loot, is_info); }
public FlashlightViewModel(ILoot loot, bool is_info) : base(loot, is_info) { Player = Player.Instance; RepairViewModel = new RepairViewModel(loot, is_info); }
public GasMaskViewModel(ILoot loot, bool is_info) : base(loot, is_info) { RepairViewModel = new RepairViewModel(loot, is_info); }