SZI2019SmieciarzWmi/config.py

16 lines
329 B
Python
Raw Permalink Normal View History

import sys, random
2019-04-01 10:33:32 +02:00
CELL_SIZE = 64
FPS = 60
DELAY = 500
2019-04-01 10:33:32 +02:00
map = open( sys.argv[1], 'r' )
GRID_WIDTH, GRID_HEIGHT = [int(x) for x in map.readline().split()]
GC_X, GC_Y = [int(x) for x in map.readline().split()]
2019-04-01 10:33:32 +02:00
WINDOW_HEIGHT = GRID_HEIGHT * CELL_SIZE
WINDOW_WIDTH = GRID_WIDTH * CELL_SIZE
HOUSE_CAPACITY = random.randint(1, 11)