New type of sprite that wraps an animation. This is useful for moving animations. It's also useful, thanks to some wackiness in the MediaPanel for making animations appear in appropriate places in the render order compared to sprites.

I'd really prefer to put this in the sprite package, but putting it here means I don't have to publicize the willStart/willFinish/didFinish functions on Animation.  I'm open to suggestions for better solutions to that one...


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@96 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Mike Thomas
2006-12-16 00:51:03 +00:00
parent e7d9acdad6
commit 493e1f1a8b
2 changed files with 73 additions and 1 deletions
@@ -239,7 +239,7 @@ public abstract class AbstractMedia
/**
* Initialize the media.
*/
protected final void init (AbstractMediaManager manager)
public final void init (AbstractMediaManager manager)
{
_mgr = manager;
init();