public void removeSprite ( Sprite sprite ) { _metamgr . removeSprite ( sprite ) ; if ( ( ( sprite instanceof ActionSprite ) || ( sprite instanceof HoverSprite ) ) && ( -- _actionSpriteCount == 0 ) ) { removeMouseListener ( _actionHandler ) ; removeMouseMotionListener ( _actionHandler ) ; } }
Removes a sprite from this panel .