Provide ability to get timestamps from a media panel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1973 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: MediaPanel.java,v 1.22 2002/11/20 02:18:49 mdb Exp $
|
// $Id: MediaPanel.java,v 1.23 2002/11/20 03:11:43 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.media;
|
package com.threerings.media;
|
||||||
|
|
||||||
@@ -116,6 +116,16 @@ public class MediaPanel extends JComponent
|
|||||||
return _remgr;
|
return _remgr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a timestamp from the {@link MediaTimer} used to track time
|
||||||
|
* intervals for this media panel. <em>Note:</em> this should only be
|
||||||
|
* called from the AWT thread.
|
||||||
|
*/
|
||||||
|
public long getTimeStamp ()
|
||||||
|
{
|
||||||
|
return _framemgr.getTimeStamp();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds a sprite to this panel.
|
* Adds a sprite to this panel.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user