def collide_bubble(self, x, y): return circle_collidepoint(*self.pos, self.radius // 2, x, y)
def collide_bullet(self, x, y): radius = self.bg_radius if self.armor_on[0] else self.radius return circle_collidepoint(*self.pos, radius, x, y)
def collide_bullet(self, x, y): return circle_collidepoint(self.x, self.y, self.radius, x, y)
def is_outside(self): return not circle_collidepoint(c.SCR_W2, c.SCR_H2, c.ROOM_RADIUS, self.x, self.y)
def is_outside(self): """ :return: Bullet is outside the room circle """ return not circle_collidepoint(c.SCR_W2, c.SCR_H2, c.ROOM_RADIUS, self.x, self.y)