wyvern.lib.event
Interface ObjectTracker

All Superinterfaces:
ContainerChangeListener, java.util.EventListener, MapChangeListener, MapMotionListener
All Known Implementing Classes:
BearTrap, MovableLightSource, MovableSoundSource

public interface ObjectTracker
extends MapChangeListener, MapMotionListener, ContainerChangeListener

A convenience interface that combines MapChangeListener, MapMotionListener, and ContainerChangeListener. It's very common to want to follow an object around, regardless of where it goes. Rather than declaring that you implement 3 interfaces, you can simply declare this one and implement the methods from all three. You can also simply call myGameObject.addObjectTracker() instead of calling 3 functions to add yourself.

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

Methods inherited from interface wyvern.lib.event.MapChangeListener
targetEnteredMap, targetLeftMap
 
Methods inherited from interface wyvern.lib.event.MapMotionListener
targetMoved
 
Methods inherited from interface wyvern.lib.event.ContainerChangeListener
targetEnteredContainer, targetLeftContainer