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:
@@ -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;
|
package com.threerings.media;
|
||||||
|
|
||||||
@@ -143,6 +143,14 @@ public class MediaPanel extends JComponent
|
|||||||
_spritemgr.addSprite(sprite);
|
_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.
|
* Removes a sprite from this panel.
|
||||||
*/
|
*/
|
||||||
@@ -168,6 +176,14 @@ public class MediaPanel extends JComponent
|
|||||||
_animmgr.registerAnimation(anim);
|
_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
|
* Aborts a currently running animation and removes it from this
|
||||||
* panel. Animations are normally automatically removed when they
|
* panel. Animations are normally automatically removed when they
|
||||||
|
|||||||
Reference in New Issue
Block a user