|
|
In my project I have a QCanvasView with several sprites on it. Four of
the sprites will need to be moving during the run of the program. I'm
translating this project from Java. In the Java version I would move
the sprite and then issue Thread.sleep(200) (make the program sleep for
200 milliseconds so that the user could see that the sprite had moved)
and then move the sprite again and reissue the Thread.sleep(200). I was
considering using the sleep function included in unistd.h, but I thought
I'd ask here to see if there was a Qt solution that might work better...
|
|