- Move hardcoded door size and colors to settings.py - Update Door class to use constants for drawing
14 lines
254 B
Python
14 lines
254 B
Python
# --- DESK ---
|
|
DESK_WIDTH = 70
|
|
DESK_HEIGHT = 40
|
|
|
|
|
|
# --- DOOR ---
|
|
DOOR_WIDTH = 20
|
|
DOOR_HEIGHT = 100
|
|
DOOR_BORDER_WIDTH = 3
|
|
|
|
COLOR_DOOR_BEIGE = (245, 245, 220)
|
|
COLOR_DOOR_BORDER = (100, 90, 80)
|
|
COLOR_HP_BAR_GREEN = (0, 255, 0)
|
|
COLOR_HP_BAR_BG = (50, 50, 50) |