Let us clear our CalibratedTimer's memory about drifts we've seen.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@440 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Dave Hoover
2008-03-11 18:12:21 +00:00
parent 381bfd239b
commit 3d4241540f
2 changed files with 18 additions and 0 deletions
@@ -216,6 +216,16 @@ public abstract class FrameManager
return 1.0;
}
}
/**
* Clears out the maximum drift our timer remembers seeing.
*/
public void clearMaxTimerDriftRatio ()
{
if (_timer instanceof CalibratingTimer) {
((CalibratingTimer)_timer).clearMaxDriftRatio();
}
}
/**
* Returns an overlay that can be used to render sprites and animations on top of the entire