Halts the program execution for the specified amount of time.
Time The delay time in milliseconds. The actual delay may be longer than the specified time.
Delay is especially useful in event loops with WindowEvent() or ExamineKeyboard(), so these functions do not "eat" the entire CPU power.
In fact, this function halts the current thread.