SI_2020/attributes.py

47 lines
789 B
Python

from enum import Enum
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': (120, 180, 230),
'iceblue': (186, 242, 239),
'blue': (0, 0, 255),
'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
}