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:
@@ -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)
|
||||
Reference in New Issue
Block a user