Class ShopCapa.SellGoal

  • Enclosing class:
    ShopCapa

    public class ShopCapa.SellGoal
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String name
      The text.
      protected double price
      The price.
      protected ItemInfo result
      The result.
    • Constructor Summary

      Constructors 
      Constructor Description
      SellGoal​(java.lang.String name, double price)
      Create a new SellGoal.
    • Field Detail

      • name

        protected java.lang.String name
        The text.
      • price

        protected double price
        The price.
      • result

        protected ItemInfo result
        The result.
    • Constructor Detail

      • SellGoal

        public SellGoal​(java.lang.String name,
                        double price)
        Create a new SellGoal.
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the name.
        Returns:
        The name.
      • getPrice

        public double getPrice()
        Get the price.
        Returns:
        The price.
      • getResult

        public ItemInfo getResult()
        Get the result.
        Returns:
        The result.
      • setResult

        public void setResult​(ItemInfo result)
        Set the result.
        Parameters:
        result - The result to set.