Moved MultiFrameImage and friends from media.sprite into media.util

because they'll be used for both sprites and animations.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1692 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-09-17 19:11:13 +00:00
parent 88e423bdfa
commit 380fa50610
9 changed files with 24 additions and 25 deletions
@@ -1,5 +1,5 @@
//
// $Id: ImageSprite.java,v 1.11 2002/09/17 02:34:05 ray Exp $
// $Id: ImageSprite.java,v 1.12 2002/09/17 19:11:13 mdb Exp $
package com.threerings.media.sprite;
@@ -16,6 +16,7 @@ import java.util.ArrayList;
import java.util.Iterator;
import com.threerings.media.Log;
import com.threerings.media.util.MultiFrameImage;
/**
* Extends the sprite class to support rendering the sprite with one or
@@ -1,7 +1,7 @@
//
// $Id: MultiFrameImage.java,v 1.2 2002/05/04 19:35:31 mdb Exp $
// $Id: MultiFrameImage.java,v 1.3 2002/09/17 19:11:13 mdb Exp $
package com.threerings.media.sprite;
package com.threerings.media.util;
import java.awt.Graphics;
import java.awt.Image;
@@ -1,7 +1,7 @@
//
// $Id: MultiFrameImageImpl.java,v 1.2 2002/05/04 19:35:31 mdb Exp $
// $Id: MultiFrameImageImpl.java,v 1.3 2002/09/17 19:11:13 mdb Exp $
package com.threerings.media.sprite;
package com.threerings.media.util;
import java.awt.Graphics;
import java.awt.Image;
@@ -10,7 +10,7 @@ import com.threerings.media.util.ImageUtil;
/**
* A basic implementation of the {@link MultiFrameImage} interface
* intended to facilitate the creation of sprites whose display frames
* intended to facilitate the creation of MFIs whose display frames
* consist of multiple image objects.
*/
public class MultiFrameImageImpl implements MultiFrameImage
@@ -1,7 +1,7 @@
//
// $Id: SingleFrameImageImpl.java,v 1.2 2002/05/04 19:35:31 mdb Exp $
// $Id: SingleFrameImageImpl.java,v 1.3 2002/09/17 19:11:13 mdb Exp $
package com.threerings.media.sprite;
package com.threerings.media.util;
import java.awt.Graphics;
import java.awt.Image;
@@ -9,10 +9,9 @@ import java.awt.Image;
import com.threerings.media.util.ImageUtil;
/**
* The single frame image class is a basic implementation of the
* {@link MultiFrameImage} interface intended to facilitate the
* creation of sprites whose display frames consist of only a single
* image.
* The single frame image class is a basic implementation of the {@link
* MultiFrameImage} interface intended to facilitate the creation of MFIs
* whose display frames consist of only a single image.
*/
public class SingleFrameImageImpl implements MultiFrameImage
{