final
This commit is contained in:
parent
aedbd71588
commit
bfc9f15835
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 27 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 20 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 20 KiB |
@ -60,6 +60,8 @@ def clear_round():
|
||||
events.p1_group.remove()
|
||||
events.p2_group.remove()
|
||||
events.players.clear()
|
||||
for i in events.bars:
|
||||
i.delete()
|
||||
events.bars.clear()
|
||||
events.p1_bullet.clear()
|
||||
events.p2_bullet.clear()
|
||||
|
@ -156,4 +156,7 @@ class HPBar(pygame.sprite.Sprite):
|
||||
self.image=pygame.transform.scale(self.image, (self.width, 30))
|
||||
|
||||
def update(self):
|
||||
self.gothit
|
||||
self.gothit
|
||||
|
||||
def delete(self):
|
||||
self.kill()
|
Loading…
Reference in New Issue
Block a user