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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user