diff --git a/bullet.py b/bullet.py index 4a1156d..6983626 100644 --- a/bullet.py +++ b/bullet.py @@ -12,6 +12,7 @@ class Bullet(pygame.sprite.Sprite): self.rect.x = parent.rect.x + parent.width/2 self.rect.y = parent.rect.y self.speed = 5 + self.type = "TARGET" def set_position(self,x,y): self.rect.x, self.rect.y = x,y