REFACTOR: moved render components into seperate module

ADD: Health bar
This commit is contained in:
2025-03-19 19:03:37 +01:00
parent e168e413e0
commit 45abd430dc
7 changed files with 60 additions and 43 deletions

View File

@@ -5,9 +5,10 @@ class Player:
self.x = x
self.y = y
self.z = z
self.pitch = pitch
self.yaw = yaw # Probably only need this if top-down
self.health = 100
self.dead = False
self.is_shooting = False