public class BeeHousingListener extends java.lang.Object implements IBeeListener
| Constructor and Description |
|---|
BeeHousingListener(IBeeHousing beeHousing) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onPollenRetrieved(IIndividual pollen)
Called when the bees have retrieved some pollen.
|
void |
onQueenDeath()
Called after the children have been spawned, and before the new princess is spawned.
|
void |
wearOutEquipment(int amount)
Called when the bees wear out the housing's equipment.
|
public BeeHousingListener(IBeeHousing beeHousing)
public void wearOutEquipment(int amount)
IBeeListenerwearOutEquipment in interface IBeeListeneramount - Integer indicating the amount worn out.public void onQueenDeath()
IBeeListeneronQueenDeath in interface IBeeListenerpublic boolean onPollenRetrieved(IIndividual pollen)
IBeeListeneronPollenRetrieved in interface IBeeListener