10-15-2010, 09:22 PM
(10-15-2010, 05:04 AM)Patacorow Wrote: sleep() is generally used to make the application go to "sleep", meaning, freezing it for a given amount of time (useful for game over screens or save & loads)
Therefore, imo, it's kinda confusing. But I should stop whining and praise the fact you're a one man team.
In Java sleep(time) means to wait a certain number of seconds, wait() means the current thread should wait until another thread notifies it to do something.
Seems kind of backwards to me, but that's how it is...