REFACTOR: moved render components into seperate module
ADD: Health bar
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user