Fluency--.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@882 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -783,11 +783,11 @@ public class GameManager extends PlaceManager
|
|||||||
_gameconfig = (GameConfig)_config;
|
_gameconfig = (GameConfig)_config;
|
||||||
|
|
||||||
// start up our tick interval
|
// start up our tick interval
|
||||||
_tickInterval = _omgr.newInterval(new Runnable() {
|
(_tickInterval = _omgr.newInterval(new Runnable() {
|
||||||
public void run () {
|
public void run () {
|
||||||
tick(System.currentTimeMillis());
|
tick(System.currentTimeMillis());
|
||||||
}
|
}
|
||||||
}).schedule(TICK_DELAY, true);
|
})).schedule(TICK_DELAY, true);
|
||||||
|
|
||||||
// configure our AIs
|
// configure our AIs
|
||||||
for (int ii = 0; ii < _gameconfig.ais.length; ii++) {
|
for (int ii = 0; ii < _gameconfig.ais.length; ii++) {
|
||||||
@@ -841,13 +841,12 @@ public class GameManager extends PlaceManager
|
|||||||
|
|
||||||
// start up a no-show timer if needed
|
// start up a no-show timer if needed
|
||||||
if (needsNoShowTimer()) {
|
if (needsNoShowTimer()) {
|
||||||
_noShowInterval = new Interval(_omgr) {
|
(_noShowInterval = new Interval(_omgr) {
|
||||||
@Override
|
@Override
|
||||||
public void expired () {
|
public void expired () {
|
||||||
checkForNoShows();
|
checkForNoShows();
|
||||||
}
|
}
|
||||||
};
|
}).schedule(getNoShowTime());
|
||||||
_noShowInterval.schedule(getNoShowTime());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1113,11 +1112,11 @@ public class GameManager extends PlaceManager
|
|||||||
protected void startAITicker ()
|
protected void startAITicker ()
|
||||||
{
|
{
|
||||||
if (_aiTicker == null) {
|
if (_aiTicker == null) {
|
||||||
_aiTicker = _omgr.newInterval(new Runnable() {
|
(_aiTicker = _omgr.newInterval(new Runnable() {
|
||||||
public void run () {
|
public void run () {
|
||||||
tickAIs();
|
tickAIs();
|
||||||
}
|
}
|
||||||
}).schedule(AI_TICK_DELAY, true);
|
})).schedule(AI_TICK_DELAY, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user