Class BellSoundSource

All Implemented Interfaces:
TurnListener, Killer, Cloneable, Iterable<String>, Serializable

public class BellSoundSource extends PassiveEntity implements TurnListener
A sound event generating object for the churches. Plays bell sound every half an hour.
  • Constructor Details

    • BellSoundSource

      public BellSoundSource()
  • Method Details

    • onAdded

      public void onAdded(StendhalRPZone zone)
      Description copied from class: Entity
      Called when this object is added to a zone.
      Overrides:
      onAdded in class Entity
      Parameters:
      zone - The zone this was added to.
    • onTurnReached

      public void onTurnReached(int currentTurn)
      Description copied from interface: TurnListener
      This method is called when the turn number is reached.
      Specified by:
      onTurnReached in interface TurnListener
      Parameters:
      currentTurn - current turn number