2019-04-01 12:48:11 +02:00
|
|
|
import sys, random
|
2019-04-01 10:33:32 +02:00
|
|
|
|
|
|
|
CELL_SIZE = 64
|
|
|
|
FPS = 60
|
2019-04-23 17:15:05 +02:00
|
|
|
DELAY = 500
|
2019-04-01 10:33:32 +02:00
|
|
|
|
2019-04-01 12:48:11 +02:00
|
|
|
map = open( sys.argv[1], 'r' )
|
2019-04-01 14:07:27 +02:00
|
|
|
|
|
|
|
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
|
2019-04-01 12:48:11 +02:00
|
|
|
WINDOW_WIDTH = GRID_WIDTH * CELL_SIZE
|
|
|
|
|
2019-04-23 17:15:05 +02:00
|
|
|
HOUSE_CAPACITY = random.randint(1, 11)
|