using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ShopItemData : MonoBehaviour
{
    public int id;
    public string name;
    public int price;
    public int inStock;
    public Sprite sprite;
    public string description;

    public void Initiate(int _id, string _name, int _price, int _inStock, Sprite _sprite, string _desctiption)
    {
        this.id = _id;
        this.name = _name;
        this.price = _price;
        this.inStock = _inStock;
        this.sprite = _sprite;
        this.description = _desctiption;
    }

    public ShopItemData()
    {
        this.id = -1;
    }

    public void BuySelf()
    {
        //PDAShopManager.Instance.Buy(this.id);
    }
}
