def render(self, canvas): GameObject.render(self,canvas) self.renderer.render(canvas, self.x , self.y) if self.die: self.deactivate()
def render(self, canvas): GameObject.render(self,canvas)
def render(self, canvas): GameObject.render(self, canvas) pygame.draw.rect(canvas, (173, 1, 1), pygame.Rect(200, 10, self.hp, 10))