Added removeSprite() to go with addSprite().

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1254 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-04-15 23:10:40 +00:00
parent a814589499
commit 18475fd820
@@ -1,5 +1,5 @@
//
// $Id: SceneViewPanel.java,v 1.37 2002/03/28 22:32:32 mdb Exp $
// $Id: SceneViewPanel.java,v 1.38 2002/04/15 23:10:40 mdb Exp $
package com.threerings.miso.scene;
@@ -111,6 +111,14 @@ public class SceneViewPanel extends AnimatedPanel
_spritemgr.addSprite(sprite);
}
/**
* Removes the supplied sprite from the screen.
*/
public void removeSprite (MisoCharacterSprite sprite)
{
_spritemgr.removeSprite(sprite);
}
/**
* If we're scrolling, we need to pass the word on to our scene view.
*/