Checking these in for Ray so that things will compile.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2990 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2004-04-06 03:53:26 +00:00
parent c50dbe8b72
commit 1dc8070910
+17 -1
View File
@@ -1,5 +1,5 @@
//
// $Id: MediaPanel.java,v 1.41 2004/02/25 14:43:17 mdb Exp $
// $Id: MediaPanel.java,v 1.42 2004/04/06 03:53:26 mdb Exp $
package com.threerings.media;
@@ -143,6 +143,14 @@ public class MediaPanel extends JComponent
_spritemgr.addSprite(sprite);
}
/**
* @return true if the sprite is already added to this panel.
*/
public boolean isManaged (Sprite sprite)
{
return _spritemgr.isManaged(sprite);
}
/**
* Removes a sprite from this panel.
*/
@@ -168,6 +176,14 @@ public class MediaPanel extends JComponent
_animmgr.registerAnimation(anim);
}
/**
* @return true if the animation is already added to this panel.
*/
public boolean isManaged (Animation anim)
{
return _animmgr.isManaged(anim);
}
/**
* Aborts a currently running animation and removes it from this
* panel. Animations are normally automatically removed when they