public _PokeBall(string newName, string newDescription, float newCatchRate, int newCost, int newWorth, PokeBallTypes newPBType, _Item.ItemTypes newType) { name = newName; description = newDescription; icon = Resources.Load <Sprite>("Sprites/PokeBalls/" + name); catchRate = newCatchRate; cost = newCost; worth = newWorth; pokeBallType = newPBType; type = newType; }
public PokeBall(string name, string description, float catchRate, int cost, int worth, PokeBallTypes pokeBallType, ItemCategories category) { base.name = name; base.description = description; icon = Resources.Load <Sprite>("Sprites/PokeBalls/" + base.name); this.catchRate = catchRate; base.cost = cost; base.worth = worth; this.pokeBallType = pokeBallType; base.category = category; }