added level update
This commit is contained in:
parent
8a5756051d
commit
3c4eff2130
1 changed files with 1 additions and 0 deletions
1
game.py
1
game.py
|
@ -164,6 +164,7 @@ def play(window):
|
||||||
bullet_group.add(temp)
|
bullet_group.add(temp)
|
||||||
|
|
||||||
update_score(window, player.score)
|
update_score(window, player.score)
|
||||||
|
update_level(window, player.level)
|
||||||
player_group.update()
|
player_group.update()
|
||||||
bullet_group.draw(window)
|
bullet_group.draw(window)
|
||||||
target_group.draw(window)
|
target_group.draw(window)
|
||||||
|
|
Reference in a new issue