Class AlchemyDialog.PlannerModel.PotionInfo

    • Constructor Summary

      Constructor Description
      PotionInfo​(java.lang.String answer)  
      PotionInfo​(Potion potion)
      Initializes the potions and their ingredients.
      PotionInfo​(Spell spell)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • ingredients

        public java.util.HashMap<ItemType,​java.lang.Integer> ingredients
      • production

        public int production
    • Constructor Detail

      • PotionInfo

        public PotionInfo​(Potion potion)
        Initializes the potions and their ingredients.
        potion - The potion. Usually, but not necessarily a potion from data.
      • PotionInfo

        public PotionInfo​(Spell spell)
      • PotionInfo

        public PotionInfo​(java.lang.String answer)
    • Method Detail

      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • getName

        public java.lang.String getName()