Moved sprite stuff into media package, removed coupling between miso stuff

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
This commit is contained in:
Michael Bayne
2001-08-14 23:35:22 +00:00
parent 0d0cb7f8ec
commit 3eea4dcaad
13 changed files with 221 additions and 134 deletions
@@ -0,0 +1,23 @@
//
// $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);
}