Added MediaPanel.clearAnimations(), fixed up comments and removed
unnecessary SpriteManager.clearSprites(). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2069 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: MediaPanel.java,v 1.26 2002/12/08 02:49:53 mdb Exp $
|
||||
// $Id: MediaPanel.java,v 1.27 2002/12/15 23:12:37 shaper Exp $
|
||||
|
||||
package com.threerings.media;
|
||||
|
||||
@@ -157,7 +157,7 @@ public class MediaPanel extends JComponent
|
||||
*/
|
||||
public void clearSprites ()
|
||||
{
|
||||
_spritemgr.clearSprites();
|
||||
_spritemgr.clearMedia();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -176,6 +176,14 @@ public class MediaPanel extends JComponent
|
||||
_animmgr.unregisterAnimation(anim);
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes all animations from this panel.
|
||||
*/
|
||||
public void clearAnimations ()
|
||||
{
|
||||
_animmgr.clearMedia();
|
||||
}
|
||||
|
||||
// documentation inherited from interface
|
||||
public void tick (long tickStamp)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user