c25741d8e6
tasks and XML parsing rule sets all the good stuff. Rewired up all the cast code to be amenable to bundling and did some other revamping. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@640 542714f4-19e9-0310-aa3c-eee0fc999fb1
22 lines
668 B
Java
22 lines
668 B
Java
//
|
|
// $Id: FrameProvider.java,v 1.1 2001/11/27 08:09:35 mdb Exp $
|
|
|
|
package com.threerings.cast;
|
|
|
|
import com.threerings.media.sprite.MultiFrameImage;
|
|
|
|
/**
|
|
* Provides a mechanism where by a character component can obtain access
|
|
* to its image frames for a particular action in an on demand manner.
|
|
*/
|
|
public interface FrameProvider
|
|
{
|
|
/**
|
|
* Returns the animation frames (in the eight sprite directions) for
|
|
* the specified action of the specified component. May return null if
|
|
* the specified action does not exist for the specified component.
|
|
*/
|
|
public MultiFrameImage[] getFrames (
|
|
CharacterComponent component, String action);
|
|
}
|