using System;
using Godot;
namespace ColdMint.scripts.item;
public readonly struct ItemType
{
///
/// Item id of this type
///
public string Id { get; init; }
///
/// A function returns a new item instance of this type
///
public Func Getter { get; init; }
///
/// Default icon of items of this type
///
public Texture2D? Texture { get; init; }
///
/// Max number in item stack of this type
///
public int MaxStackQuantity { get; init; }
}