/// <summary> /// Определение можно ли использовать одежу персонажу /// если можно, то использует /// </summary> /// <param name="wear"></param> public void Equip(Wear wear) { var result = wear.CanWearFor(Player); if (result) { wear.Equiped = true; } }
public void Equip(Wear wear) { var result = wear.CanWearFor(Player); if (result) { wear.Equiped = true; } }