画像を動かしていこうと思います。
public void run() {
while (thread != null) {
score = score + 1;
handler.post(new Runnable() {
public void run() {
}
});
try {
Thread.sleep(spd);
} catch (Exception ex) {
}
}
}
ここで、単に数値を足していくと…
永遠に回転していきます。
が、動作の判別を設定していないので、表示される文字と数値がおかしくなっています。
これから、ここらの作業を行います。
0コメント