using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; using UnityEngine.UI; using Assets.Scripts.Classes; using Assets.Scripts.Races; using Newtonsoft.Json.Linq; using UnityEngine.InputSystem; namespace Assets.Scripts.Player { public class PlayerStat { string text; int amount; string tooltip; public PlayerStat(string text, int amount, string tooltip){ this.text = text; this.amount = amount; this.tooltip = tooltip; } public string getTooltip(){ return tooltip; } public string getText(){ return text; } public int getAmount(){ return amount; } public void changeAmount(int change){ amount += change; } public void setAmount(int amount){ this.amount = amount; } } }