阅读背景:

如何使用箭头键在循环中移动对象

来源:互联网 

I'm trying to move a square in a continuous loop that leaves a trail behind itself while the loop is running (think of the BMtron game), but when I use my keylistener to move the square, the screen freezes, and the object does not move although the loop continues to run. Here is a snippet:I'm trying to move a square in a continuous loo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: