Make the media panel's animation and sprite managers available.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3124 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: MediaPanel.java,v 1.44 2004/08/27 02:12:37 mdb Exp $
|
// $Id: MediaPanel.java,v 1.45 2004/09/18 23:50:20 mdb Exp $
|
||||||
//
|
//
|
||||||
// Narya library - tools for developing networked games
|
// Narya library - tools for developing networked games
|
||||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||||
@@ -99,6 +99,23 @@ public class MediaPanel extends JComponent
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a reference to the animation manager used by this media
|
||||||
|
* panel.
|
||||||
|
*/
|
||||||
|
public AnimationManager getAnimationManager ()
|
||||||
|
{
|
||||||
|
return _animmgr;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a reference to the sprite manager used by this media panel.
|
||||||
|
*/
|
||||||
|
public SpriteManager getSpriteManager ()
|
||||||
|
{
|
||||||
|
return _spritemgr;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pauses the sprites and animations that are currently active on this
|
* Pauses the sprites and animations that are currently active on this
|
||||||
* media panel. Also stops listening to the frame tick while paused.
|
* media panel. Also stops listening to the frame tick while paused.
|
||||||
|
|||||||
Reference in New Issue
Block a user