SI_2020/attributes.py
2020-04-30 16:36:55 +02:00

52 lines
822 B
Python

from enum import Enum
class PackSize(Enum):
ALL = 0
SMALL = 1
MEDIUM = 2
LARGE = 3
HUGE = 4
class PackStatus(Enum):
LOOSE = 0
STORED = 1
STORED_BAD_LOCATION = 2
PACK_CATEGORIES = {
'general',
'freezed',
}
COLORS = {
'white': (255, 255, 255),
'black': (0, 0, 0),
'gray': (128, 128, 128),
'darkgray': (60, 60, 60),
'yellow': (235, 235, 0),
'lightgreen': (70, 238, 70),
'red': (255, 0, 0),
'lightblue': (135, 206, 250),
'orange': (255, 165, 0)
}
TURN_LEFT_DIRECTIONS = {
"left": "down",
"down": "right",
"right": "up",
"up": "left"
}
TURN_RIGHT_DIRECTIONS = {
"left": "up",
"up": "right",
"right": "down",
"down": "left"
}
DIRECTION_ANGLES = {
"left": 0,
"up": -90,
"right": 180,
"down": 90
}