Class SoothingLovePotion

java.lang.Object
gameelement.potion.BasePotion
gameelement.potion.SoothingLovePotion
All Implemented Interfaces:
MergeAble

public class SoothingLovePotion extends BasePotion implements MergeAble
Potion made from Heart Berry and Dew Drop.
  • Constructor Details

    • SoothingLovePotion

      public SoothingLovePotion()
      Creates a Soothing Love potion with its recipe, type, and power.
  • Method Details

    • potionMatchesRecipe

      public boolean potionMatchesRecipe(List<BaseElement> elements)
      Checks whether the selected elements can merge into Soothing Love.
      Specified by:
      potionMatchesRecipe in interface MergeAble
      Specified by:
      potionMatchesRecipe in class BasePotion
      Parameters:
      elements - selected elements from the merge station
      Returns:
      true when Heart Berry and Dew Drop are selected