• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 491
  • Last Modified:

Draw Sprites a number of times.

I am creating a java midlet game. I want to draw a number of sprites one after the other at the same point but I want there to be an interval between the drawing of each sprite. How could I put this interval between the drawing of sprites? Is there a simple way in java to create a timer where I could time the spawning of these sprites?
0
tango2009
Asked:
tango2009
1 Solution
 
TommySzalapskiCommented:
You could use Thread.sleep(500) to wait half a second (500 milliseconds) or however long you want it to pause.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now