Files
narya/src/java/com/threerings/media/ViewTracker.java
T
Michael Bayne cd51c78619 Added support for using sprites that are fixed in relation to a
potentially scrolling view. Also added a means for non-sprites and
animations to hear about view scrolls.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3209 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-11 23:52:43 +00:00

19 lines
421 B
Java

//
// $Id: ViewTracker.java,v 1.1 2004/11/11 23:52:43 mdb Exp $
package com.threerings.media;
/**
* An interface used by entities that wish to respond to the scrolling of a
* {@link VirtualMediaPanel}.
*
* @see VirtualMediaPanel#addViewTracker
*/
public interface ViewTracker
{
/**
* Called by a {@link VirtualMediaPanel} when it scrolls.
*/
public void viewLocationDidChange (int dx, int dy);
}