public CharactersViewModel(SaveFf7Remake save, EquipmentsViewModel weapons, MateriaViewModel materia) : this(save.Characters.Select((_, i) => new CharacterEntryModel(save, i, weapons, materia))) { _save = save; }
public EquipmentsViewModel(IEnumerable <MateriaEquipment> equipments, MateriaViewModel materiaVm) : this(equipments.Select(x => new EquipmentEntryModel(x, materiaVm))) { }
public EquipmentsViewModel(WeaponFound[] weaponFound, IEnumerable <MateriaEquipment> equipments, MateriaViewModel materiaVm) : this(equipments.Select((x, i) => new EquipmentEntryModel(i, weaponFound, x, materiaVm))) { }