3eea4dcaad
and sprite stuff by added some interfaces in the sprite stuff and implementing them with the miso stuff. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@245 542714f4-19e9-0310-aa3c-eee0fc999fb1
24 lines
535 B
Java
24 lines
535 B
Java
//
|
|
// $Id: MultiFrameImage.java,v 1.1 2001/08/14 23:35:22 mdb Exp $
|
|
|
|
package com.threerings.media.sprite;
|
|
|
|
import java.awt.Image;
|
|
|
|
/**
|
|
* The multi-frame image interface provides encapsulated access to a set
|
|
* of images that are used to create a multi-frame animation.
|
|
*/
|
|
public interface MultiFrameImage
|
|
{
|
|
/**
|
|
* Returns the number of frames in this multi-frame image.
|
|
*/
|
|
public int getFrameCount ();
|
|
|
|
/**
|
|
* Returns the image for the specified frame index.
|
|
*/
|
|
public Image getFrame (int index);
|
|
}
|