Added points system with scoreboard.
This commit is contained in:
@@ -66,6 +66,8 @@ class Player:
|
||||
attackDuration=200 # 200ms attack duration
|
||||
))
|
||||
|
||||
self.scoreboard = Scoreboard()
|
||||
|
||||
def should_play_footstep(self, currentTime):
|
||||
"""Check if it's time to play a footstep sound"""
|
||||
return (self.distanceSinceLastStep >= self.get_step_distance() and
|
||||
|
Reference in New Issue
Block a user