Interface IBeeListener


public interface IBeeListener
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Called when the bees have retrieved some pollen.
    default void
    Called after the children have been spawned, and before the new princess is spawned.
    default void
    wearOutEquipment(int amount)
    Called when the bees wear out the housing's equipment.
  • Method Details

    • wearOutEquipment

      default void wearOutEquipment(int amount)
      Called when the bees wear out the housing's equipment.
      Parameters:
      amount - Integer indicating the amount worn out.
    • onQueenDeath

      default void onQueenDeath()
      Called after the children have been spawned, and before the new princess is spawned.
    • onPollenRetrieved

      default boolean onPollenRetrieved(IPollen<?> pollen)
      Called when the bees have retrieved some pollen.
      Returns:
      true if this bee listener consumed the pollen.