basic_agent
This commit is contained in:
parent
bf51b1b511
commit
803757806a
34
constants.py
34
constants.py
@ -4,15 +4,14 @@
|
||||
DISPLAY_SIZE_HORIZONTAL = 600
|
||||
DISPLAY_SIZE_VERTICAL = 600
|
||||
|
||||
#TILE DIVIDER
|
||||
TILE_DIVIDER = 20
|
||||
#TILE DIVIDER = TILE SIZE
|
||||
TILE_SIZE = 2
|
||||
|
||||
# number of tiles
|
||||
HORIZONTAL_TILES_NUMBER = DISPLAY_SIZE_HORIZONTAL/TILE_DIVIDER
|
||||
VERTICAL_TILES_NUMBER = DISPLAY_SIZE_VERTICAL/TILE_DIVIDER
|
||||
HORIZONTAL_TILES_NUMBER = DISPLAY_SIZE_HORIZONTAL/TILE_SIZE
|
||||
VERTICAL_TILES_NUMBER = DISPLAY_SIZE_VERTICAL/TILE_SIZE
|
||||
|
||||
#TILE_SIZE
|
||||
TILE_SIZE = DISPLAY_SIZE_HORIZONTAL/HORIZONTAL_TILES_NUMBER
|
||||
|
||||
#colors
|
||||
WHITE = (255, 255, 255) #SUPER UPRAWA
|
||||
@ -35,3 +34,28 @@ FPS = 144
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user