wyvern.lib.properties
Interface WalkNotify

All Known Implementing Classes:
AbstractTrap, Firespout, Firewall, Lava, MagicMouth, Teleporter, Water

public interface WalkNotify

It's common for objects to want to know when someone "steps" on them, by entering the square that they occupy. This method provides a callback for this notification.

Version:
1.0, Oct 28, 1999
Author:
Steve Yegge

Method Summary
 void steppedOn(Monster m)
          Notification that a monster has stepped in the square containing this object.
 

Method Detail

steppedOn

public void steppedOn(Monster m)
Notification that a monster has stepped in the square containing this object.

When this method is called, you have the map exclusive.

Parameters:
m - the Monster who stepped into this square