PyGame Logo
PyGame
Documentation
||  Home  ||  Help Contents  ||
 
|| CD || Channel || Font || Joystick || Rect ||
|| Sound || Surface || pygame || cdrom || display ||
|| event || font || image || joystick || key ||
|| mixer || mouse || music || surfarray || time ||

pygame.time

Contains routines to help keep track of time.
delay - delay for a number of milliseconds
get_ticks - milliseconds since initialization

delay
pygame.time.delay(millseconds) -> none
 
get_ticks
pygame.time.get_ticks() -> int