feature: door basic mechanic

- Move hardcoded door size and colors to settings.py
- Update Door class to use constants for drawing
This commit is contained in:
Berger Lena
2026-05-07 20:47:42 +02:00
parent dee0abefbc
commit 9b74401b08
2 changed files with 24 additions and 6 deletions
+10
View File
@@ -2,3 +2,13 @@
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)