Files
narya/src/java/com/threerings/media/sprite/SpriteObserver.java
T
Walter Korman aa574a8182 Added support for animations to the animation manager. Moved animation
classes into their own package.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@849 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-11 16:17:34 +00:00

21 lines
566 B
Java

//
// $Id: SpriteObserver.java,v 1.4 2002/01/11 16:17:33 shaper Exp $
package com.threerings.media.sprite;
/**
* An interface to be implemented by classes that would like to observe a
* sprite and be notified of meaningful events as it, and any other
* sprites, move about.
*/
public interface SpriteObserver
{
/**
* This method is called by the {@link SpriteManager} when something
* interesting is accomplished by or happens to the sprite.
*
* @param event the sprite event.
*/
public void handleEvent (SpriteEvent event);
}