def render(self, gfx, color=[255, 255, 255]): Sprite.render(self, gfx) pygame.draw.aaline(gfx, color, (self.pts[2].x, self.pts[2].y), (self.pts[7].x, self.pts[7].y), 1) pygame.draw.aaline(gfx, color, (self.pts[3].x, self.pts[3].y), (self.pts[6].x, self.pts[6].y), 1)
def render(self, gfx): if self.alive: Sprite.render(self, gfx, self.color)
def render(self, gfx, color = [255, 255, 255]): Sprite.render(self, gfx) pygame.draw.aaline(gfx, color, (self.pts[2].x, self.pts[2].y), (self.pts[7].x, self.pts[7].y), 1) pygame.draw.aaline(gfx, color, (self.pts[3].x, self.pts[3].y), (self.pts[6].x, self.pts[6].y), 1)