public Item(string name, string desc, int cost, int initialQuantity, ItemType type, Rarity rarity, Action onUse) { Name = name; Description = desc; Cost = cost; Rarity = rarity; Quantity = initialQuantity; Type = type; OnUse = onUse; CanBuy = true; CoolDownTimer = new CoolDown(0); }
public Skill(string name, string desc, int pointsToUnlock) { Name = name; Description = desc; PointsToUnlock = pointsToUnlock; Unlocked = false; CoolDownTimer = new CoolDown(1000); Parameters = new Dictionary<string, object>(); VisibleParameters = new Dictionary<string, Func<Skill, string>>(); UsedMods = new List<string>(); Mods = new Dictionary<string, int>(); }
public Item(string name, string desc,int cost, int initialQuantity, ItemType type, Rarity rarity, Action onUse) { Name = name; Description = desc; Cost = cost; Rarity = rarity; Quantity = initialQuantity; Type = type; OnUse = onUse; CanBuy = true; CoolDownTimer = new CoolDown(0); }
public Skill(string name, string desc, int pointsToUnlock) { Name = name; Description = desc; PointsToUnlock = pointsToUnlock; Unlocked = false; CoolDownTimer = new CoolDown(1000); Parameters = new Dictionary <string, object>(); VisibleParameters = new Dictionary <string, Func <Skill, string> >(); UsedMods = new List <string>(); Mods = new Dictionary <string, int>(); }