def get_hitbox_for(pos: Vector) -> pg.Rect: x, y = pos.ints() return pg.Rect(x - 16, y + 4, 32, 32)
def does_hit_at(self, pos: Vector): return bool(self.get_rect().collidepoint(pos.ints()))
def get_hitbox_for(pos: Vector) -> pg.Rect: x, y = pos.ints() return pg.Rect(x - 16, y + 4, 32, 32)
def does_hit_at(self, pos: Vector): return bool(self.get_rect().collidepoint(pos.ints()))