Update 'final/README.md'
This commit is contained in:
parent
7b4a5ec1c1
commit
9453809122
@ -52,6 +52,7 @@ Táto funkcia inicializuje stav hry pridelením pamäte pre štruktúru stavu a
|
||||
Samotná štruktúra hry má nasledujúce premenné:
|
||||
|
||||
1. súradnice dinosaura
|
||||
|
||||
int dinox
|
||||
int dinoy
|
||||
|
||||
@ -59,15 +60,19 @@ int dinoy
|
||||
int jumps
|
||||
|
||||
1. krabica, ktorá predstavuje farbu dinosaura
|
||||
|
||||
int color
|
||||
|
||||
1. pole, ktoré obsahuje typy kaktusov v hre
|
||||
|
||||
int type[CACTUS_COUNT]
|
||||
|
||||
1. pole, ktoré obsahuje počiatočné horizontálne polohy každého kaktusu
|
||||
|
||||
int first_cactusx[CACTUS_COUNT]
|
||||
|
||||
1. polia, ktoré obsahujú aktuálne pozície každého kaktusu
|
||||
|
||||
int cactusx[CACTUS_COUNT]
|
||||
int cactusy[CACTUS_COUNT]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user