#NEWLINE# def init( name = '' , window_size = ( 640 , 480 ) ) : #NEWLINE# #INDENT# logger . debug ( ( 'init %s %s' % ( __name__ , __version__ ) ) ) #NEWLINE# pygame . init ( ) #NEWLINE# logger . debug ( ( 'pygame %s' % pygame . __version__ ) ) #NEWLINE# pygame . key . set_repeat ( 200 , 50 ) #NEWLINE# global window_surface #NEWLINE# window_surface = pygame . display . set_mode ( window_size ) #NEWLINE# pygame . display . set_caption ( name ) #NEWLINE# window . rect = pygame . Rect ( ( 0 , 0 ) , window_size ) #NEWLINE# theme . init ( )