forked from s452751/AI_PRO
60 lines
576 B
Python
60 lines
576 B
Python
|
#constants
|
||
|
|
||
|
# display size in pixels
|
||
|
DISPLAY_SIZE_HORIZONTAL = 600
|
||
|
DISPLAY_SIZE_VERTICAL = 600
|
||
|
|
||
|
#TILE DIVIDER = TILE SIZE
|
||
|
TILE_SIZE = 30
|
||
|
|
||
|
# number of tiles
|
||
|
HORIZONTAL_TILES_NUMBER = DISPLAY_SIZE_HORIZONTAL/TILE_SIZE
|
||
|
VERTICAL_TILES_NUMBER = DISPLAY_SIZE_VERTICAL/TILE_SIZE
|
||
|
|
||
|
#TILE_SIZE
|
||
|
|
||
|
#colors
|
||
|
WHITE = (255, 255, 255) #SUPER UPRAWA
|
||
|
BLACK = (0, 0, 0)
|
||
|
RED = (255, 0, 0) #DO ZASIANIA
|
||
|
YELLOW = (255, 255, 0) #DO PODLANIA
|
||
|
GREEN = (0, 255, 0) #DO SCIECIA
|
||
|
|
||
|
|
||
|
#tractor const
|
||
|
|
||
|
TRACTOR_WIDTH = TILE_SIZE
|
||
|
TRACTOR_HEIGHT = TILE_SIZE
|
||
|
|
||
|
#FRAMES PER SECOND
|
||
|
FPS = 5
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|