0
嘿,我的全部實施gameloop這裏找到:http://obviam.net/index.php/the-android-game-loop/的Android Gameloop的Thread.join()掛起應用
我的問題是,爲什麼有:
boolean retry = true;
while (retry) {
try {
thread.join();
retry = false;
} catch (InterruptedException e) {
// try again shutting down the thread
}
}
在我surfaceDestroyed()我的遊戲功能查看掛起的應用程序?
謝謝!我忘了我必須打破線程中包含的while循環>。> – Smanger 2011-04-02 03:20:52