wyvern.lib.properties
Interface HeartbeatCallback

All Known Implementing Classes:
MonsterImpl

public interface HeartbeatCallback

This interface allows an object to register for heartbeat notifications. A Heartbeat is a timer that goes off periodically; it's used by monsters and their subclasses for things like regeneration and food consumption.

Version:
1.0, Jun 05, 1998
Author:
Steve Yegge

Method Summary
 void heartbeat()
          This is the notification method for getting a heartbeat.
 

Method Detail

heartbeat

public void heartbeat()
This is the notification method for getting a heartbeat. The method is called on the kernel's scheduler thread, so during this method you have the map exclusive.