def __init__(self): self.image = pygame.image.load("pictures/bullet.png") self.rect = pygame.Rect((coords[0], coords[1]), self.image.get_size()) self.direction = direction Bullet.__init__(self, (coords[0], coords[1]), self.direction)