SI_2020/attributes.py

48 lines
790 B
Python
Raw Normal View History

2020-04-02 15:25:15 +02:00
from enum import Enum
class PackStatus(Enum):
LOOSE = 0
STORED = 1
STORED_BAD_LOCATION = 2
2020-04-02 15:25:15 +02:00
PACK_CATEGORIES = {
'general',
'freezed',
}
2020-04-07 18:50:25 +02:00
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),
2020-04-28 01:18:23 +02:00
'red': (255, 0, 0),
'lightblue': (120, 180, 230),
2020-05-03 18:21:25 +02:00
'iceblue': (186, 242, 239),
'blue': (0, 0, 255),
'orange': (255, 165, 0)
}
2020-04-29 00:50:38 +02:00
TURN_LEFT_DIRECTIONS = {
"left": "down",
"down": "right",
"right": "up",
"up": "left"
}
TURN_RIGHT_DIRECTIONS = {
"left": "up",
"up": "right",
"right": "down",
"down": "left"
2020-04-30 16:36:55 +02:00
}
DIRECTION_ANGLES = {
"left": 0,
"up": -90,
"right": 180,
"down": 90
}