Posts by leonardo • 1 point
1 post
-
-1
votes1
answer87
viewsQ: Code locks the window
I have this code in my game and I check if it’s past 400 milliseconds, and then update. public void setUpdatePosition(int posicao, long tempo, int posX, int posY) { long previous =…