|
|
|
@ -42,7 +42,7 @@ while bezime: |
|
|
|
hrac_y += rychlost |
|
|
|
|
|
|
|
#omezení aby hráč nevyjel: |
|
|
|
if hrac_x < 0 : hrac_x = 0, |
|
|
|
if hrac_x < 0 : hrac_x = 0 |
|
|
|
if hrac_y < 0 : hrac_y = 0 |
|
|
|
if hrac_x > SIRKA - hrac_sirka: hrac_x = SIRKA - hrac_sirka |
|
|
|
if hrac_y > VYSKA - hrac_vyska: hrac_y = VYSKA - hrac_vyska |
|
|
|
|