Fix deprecation warnings with Interval.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1112 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2012-01-10 21:13:06 +00:00
parent 7f78373b78
commit 734822c1c2
2 changed files with 2 additions and 1 deletions
@@ -158,7 +158,7 @@ public class SimulatorApp
// wholly independent thread to wait for the server to be ready as
// in normal circumstances they are entirely different processes;
// so we just wait half a second which does the job
new Interval() {
new Interval(Interval.RUN_DIRECT) {
@Override
public void expired () {
_client.getParlorContext().getClient().logon();
@@ -52,6 +52,7 @@ public class RobotPlayer extends Interval
*/
public RobotPlayer (Component target, KeyTranslator xlate)
{
super(Interval.RUN_DIRECT);
// save off references
_target = target;
_xlate = xlate;