Plik definiujący wymiary środowiska
This commit is contained in:
parent
6a5a82eec7
commit
e0e530b82f
13
dimensions.py
Normal file
13
dimensions.py
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Grid size
|
||||||
|
GSIZE = 10
|
||||||
|
|
||||||
|
# This sets the WIDTH and HEIGHT of each grid location
|
||||||
|
WIDTH = 35
|
||||||
|
HEIGHT = 35
|
||||||
|
|
||||||
|
# This sets the margin between each cell
|
||||||
|
MARGIN = 5
|
||||||
|
|
||||||
|
# Window size
|
||||||
|
SCREEN_WIDTH = GSIZE * (WIDTH + MARGIN) + MARGIN
|
||||||
|
SCREEN_HEIGHT = GSIZE * (HEIGHT + MARGIN) + MARGIN
|
Loading…
Reference in New Issue
Block a user