Traktor/source/area/constants.py
2024-04-09 15:02:58 +02:00

21 lines
388 B
Python

# contains all constants
import pygame
WIDTH, HEIGHT = 1000, 1000
FIELD_WIDTH, FIELD_HEIGHT = 660, 330
ROWS, COLS = 20, 20
# number of tiles in a row and column
TILE_SIZE = FIELD_WIDTH//ROWS
PLANT = ""
# path to plant image
GROUND = ""
# path to ground image
GREY = (20, 17, 17, 255)
DIRECTION_NORTH = 1
DIRECTION_EAST = 2
DIRECTION_SOUTH = 3
DIRECTION_WEST = 4