feat: HUD

- add tower constants including cost, projectile stats, and duration
- add item buying timer for shop items
- add _draw_status_bar to handle dynamic HP rendering
- add _format_time for MM:SS display
This commit is contained in:
Berger Lena
2026-05-08 15:17:07 +02:00
committed by Niklas Haiden
parent f6beb533d6
commit bd2152ac3b
+1 -1
View File
@@ -44,4 +44,4 @@ class HUD:
# --- TIME --- # --- TIME ---
time_str = _format_time(total_time) time_str = _format_time(total_time)
screen.blit(self.font.render(time_str, True, COLOR_HUD_TEXT), (screen.get_width() - 150, HUD_Y_DOOR - 5)) screen.blit(self.font.render(time_str, True, COLOR_HUD_TEXT), (screen.get_width() - 150, HUD_Y_DOOR - 5))