Your IP : 3.139.86.53


Current Path : /lib64/python2.7/Demo/tkinter/matt/
Upload File :
Current File : //lib64/python2.7/Demo/tkinter/matt/pong-demo-1.pyc

�
��^c@sCddlTddlZdefd��YZe�Zej�dS(i����(t*NtPongcBs&eZd�Zd�Zdd�ZRS(c
Cs�t|ddddd|j�|_|jjdtdt�t|dd	d
d	�|_t|dt	dd
dddd�|_
|j
jdtdt�|jj
dddddd�|_d|_d|_d|_d|_|jjdt�dS(NttexttQUITt
foregroundtredtcommandtsidetfilltwidtht5itheighttorienttlabels
ball speedtfrom_i����ttoidt0is0.10ig�������?g333333�?g�?(tButtontquitRtpacktLEFTtBOTHtCanvastdrawtScalet
HORIZONTALtspeedtBOTTOMtXtcreate_ovaltballtxtyt
velocity_xt
velocity_y(tself((s5/usr/lib64/python2.7/Demo/tkinter/matt/pong-demo-1.pyt
createWidgetss				cGs�|jdks|jdkr1d|j|_n|jdksO|jdkrbd|j|_n|j|jj�d}|j|jj�d}|j||_|j||_|jj|jd|d|�|j	d|j
�dS(Ng@gg�gY@s%rii
(RR!R R"RtgetRtmoveRtaftertmoveBall(R#targstdeltaxtdeltay((s5/usr/lib64/python2.7/Demo/tkinter/matt/pong-demo-1.pyR(s!cCs>tj||�tj|�|j�|jd|j�dS(Ni
(tFramet__init__tPacktconfigR$R'R((R#tmaster((s5/usr/lib64/python2.7/Demo/tkinter/matt/pong-demo-1.pyR--s

N(t__name__t
__module__R$R(tNoneR-(((s5/usr/lib64/python2.7/Demo/tkinter/matt/pong-demo-1.pyRs		(tTkintertstringR,Rtgametmainloop(((s5/usr/lib64/python2.7/Demo/tkinter/matt/pong-demo-1.pyt<module>s
.	

?>