
    Oh                     :   d dl Z  e j                     dZdZe j                            eef          Ze j                            d           e j        	                                Z
defdZddZed	z  ed	z  gZ ed
e          ZdZerle j                                        ZeD ]Zej        e j        k    rdZ ee           e j                                         e
                    d           	 el ed            e j                      e             dS )    Ni   iX  zPierwsza Graimg_pathc                     t           j                            |           }|                                }d}|                    |           |                    |          }|||gS )N)r   r   r   )center)pygameimageloadconvertset_colorkeyget_rect)r   positionr   surfacetransparent_colorrects         8c:\Users\13-19lat\Python_Sroda_18_30\Lekcja_12\pygame.py
load_imager      sd    Lh''EmmooG!*+++ 8,,D7D!!    returnc                 H    | \  }}}t                               ||           d S )N)screen_surfaceblit)img_listr   r   r   s       r   print_imager      s)    #E7D&&&Dr      z
player.pngTF<   zZamykanie aplikacji)r   N)r   initSCREEN_WIDTHSCREEN_HEIGHTdisplayset_moder   set_captiontimeClockclockstrr   r   
player_posplayergame_statuseventgeteventstypeQUITupdatetickprintquit r   r   <module>r2      s    ((,)FGG   > * * * 	
" 
" 
" 
" 
"	 	 	 	 a!!34
	L*	-	-  	 \F  :$$K K N	JJrNNN%  	(      r   