wyvern.lib.event
Interface MapChangeListener

All Superinterfaces:
java.util.EventListener
All Known Subinterfaces:
MotionTracker, ObjectTracker
All Known Implementing Classes:
AnimationParams, BearTrap, FlameShield, ManaShield, MapChangeAdapter, MovableLightSource, MovableSoundSource, PitTrap, ProximityProperty, Scrying, Snooper, TerrainSpeed

public interface MapChangeListener
extends java.util.EventListener

Interface supporting notification when an object enters or leaves its map.

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

Method Summary
 void targetEnteredMap(MapChangeEvent event)
          Notification that the target object has entered a map.
 void targetLeftMap(MapChangeEvent event)
          Notification that the target object has left its map.
 

Method Detail

targetEnteredMap

public void targetEnteredMap(MapChangeEvent event)
Notification that the target object has entered a map. Called at the end of the object's setMap() function.


targetLeftMap

public void targetLeftMap(MapChangeEvent event)
Notification that the target object has left its map. Called at the end of the object's remove() function.