Traktor/source/area/constants.py

21 lines
388 B
Python
Raw Normal View History

2024-03-07 18:01:12 +01:00
# contains all constants
import pygame
WIDTH, HEIGHT = 1000, 1000
FIELD_WIDTH, FIELD_HEIGHT = 660, 330
ROWS, COLS = 20, 20
2024-03-07 18:01:12 +01:00
# 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)
2024-04-09 15:02:58 +02:00
DIRECTION_NORTH = 1
DIRECTION_EAST = 2
DIRECTION_SOUTH = 3
DIRECTION_WEST = 4
2024-03-07 18:01:12 +01:00