Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
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>();
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
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>();
 }