Class SpeedAphid


public class SpeedAphid extends Aphid
  • Constructor Details

    • SpeedAphid

      public SpeedAphid()
  • Method Details

    • bonusWhenEaten

      public void bonusWhenEaten(Creature eater)
      Description copied from class: Aphid
      Give bonus to eater when aphid is eaten.
      Overrides:
      bonusWhenEaten in class Aphid
      Parameters:
      eater - The creature that eat the aphid.
    • bonusWhenCollectHoneydew

      public void bonusWhenCollectHoneydew(Creature collector)
      Description copied from class: Aphid
      Give bonus to collector when honeydew is collected.
      Overrides:
      bonusWhenCollectHoneydew in class Aphid
      Parameters:
      collector - The creature that collect the honeydew.