SprytnyTraktor/definitions.py
2021-03-21 13:45:20 +01:00

13 lines
409 B
Python

import os
import pygame
FPS = 1
MAXIMUM_WATER_LEVEL = 100
WHITE = ((255, 255, 255))
WIDTH, HEIGHT = 1000, 1000
WIN = pygame.display.set_mode((WIDTH, HEIGHT))
TRACTOR = pygame.image.load(os.path.join('resources', 'tractor.png'))
TRACTOR_WIDTH, TRACTOR_HEIGHT = 100, 100
TRACTOR = pygame.transform.scale(TRACTOR, (TRACTOR_WIDTH, TRACTOR_HEIGHT))
VEL = 100
WHEAT_MAXIMUM_STATE = 5
WHEAT_REQUIRED_WATER_LEVEL = 40