Ejemplo n.º 1
0
    public Produce(
        string name,
        string imagePath,
        Inventory.ProduceType produceType,
        float hungerYield,
        float healthYield,
        float happinessYield,
        float strengthYield,
        float intelligenceYield,
        float agilityYield,
        int price,
        bool isEdible,
        Inventory.ItemRarity rarity
        )
    {
        this.name        = name;
        this.imagePath   = imagePath;
        this.produceType = produceType;

        this.hungerYield    = hungerYield;
        this.healthYield    = healthYield;
        this.happinessYield = happinessYield;

        this.strengthYield     = strengthYield;
        this.intelligenceYield = intelligenceYield;
        this.agilityYield      = agilityYield;

        this.price = price;

        this.isEdible = isEdible;
        this.rarity   = rarity;
    }
Ejemplo n.º 2
0
 public GardenDecor(string name, int bmCost, int coinCost, string imagePath, Inventory.GardenDecorType gardenDecorType, Inventory.ItemRarity rarity)
 {
     this.name            = name;
     this.bmCost          = bmCost;
     this.coinCost        = coinCost;
     this.imagePath       = imagePath;
     this.gardenDecorType = gardenDecorType;
     this.rarity          = rarity;
 }
Ejemplo n.º 3
0
 public Seed(string name, int puffleCost, string imagePath, Inventory.SeedType seedType, int growthTime, int price, Inventory.ItemRarity rarity)
 {
     this.name       = name;
     this.puffleCost = puffleCost;
     this.imagePath  = imagePath;
     this.seedType   = seedType;
     this.growthTime = growthTime;
     this.price      = price;
     this.rarity     = rarity;
 }