Files
YachtDice/Assets/Scripts/Shop/IShopItem.cs
T
2026-03-02 05:25:05 +07:00

24 lines
673 B
C#

using UnityEngine;
namespace YachtDice.Shop
{
/// <summary>
/// Any item that can appear in the shop.
/// Implemented by ScriptableObject definitions (ModifierDefinition, DiceDefinitionSO).
/// </summary>
public interface IShopItem
{
string Id { get; }
string DisplayName { get; }
string Description { get; }
Sprite Icon { get; }
int ShopPrice { get; }
/// <summary>
/// Whether this item can be repurchased after being owned (e.g. consumable modifiers).
/// If false, the shop marks it as "Owned" once purchased.
/// </summary>
bool IsRepurchasable { get; }
}
}