class HitBox:

    def __init__(self, gui, position, size):
        self.position, self.size = position, size
        self.gui = gui

    def within(self, point):
        return self.position[0] * self.gui.size[0] < point[0] < self.position[0
            ] * self.gui.size[0] + self.size[0] * self.gui.size[0
            ] and self.position[1] * self.gui.size[1] < point[1
            ] < self.position[1] * self.gui.size[1] + self.size[1
            ] * self.gui.size[1]

    def withinClicked(self, point, mouseState):
        within = self.position[0] * self.gui.size[0] < point[0
            ] < self.position[0] * self.gui.size[0] + self.size[0
            ] * self.gui.size[0] and self.position[1] * self.gui.size[1
            ] < point[1] < self.position[1] * self.gui.size[1] + self.size[1
            ] * self.gui.size[1]
        return within and mouseState[0], within and mouseState[2]

846621ca4507e727b465ae9304f0263b187abb2f
class HitBox:
    <mask token>
    <mask token>
    <mask token>

class HitBox:
    <mask token>

    def within(self, point):
        return self.position[0] * self.gui.size[0] < point[0] < self.position[0
            ] * self.gui.size[0] + self.size[0] * self.gui.size[0
            ] and self.position[1] * self.gui.size[1] < point[1
            ] < self.position[1] * self.gui.size[1] + self.size[1
            ] * self.gui.size[1]
    <mask token>

class HitBox:

    def __init__(self, gui, position, size):
        self.position, self.size = position, size
        self.gui = gui

    def within(self, point):
        return self.position[0] * self.gui.size[0] < point[0] < self.position[0
            ] * self.gui.size[0] + self.size[0] * self.gui.size[0
            ] and self.position[1] * self.gui.size[1] < point[1
            ] < self.position[1] * self.gui.size[1] + self.size[1
            ] * self.gui.size[1]
    <mask token>

class HitBox:

    def __init__(self, gui, position, size):
        self.position, self.size = position, size
        self.gui = gui

    def within(self, point):
        return self.position[0] * self.gui.size[0] < point[0] < self.position[0
            ] * self.gui.size[0] + self.size[0] * self.gui.size[0
            ] and self.position[1] * self.gui.size[1] < point[1
            ] < self.position[1] * self.gui.size[1] + self.size[1
            ] * self.gui.size[1]

    def withinClicked(self, point, mouseState):
        within = self.position[0] * self.gui.size[0] < point[0
            ] < self.position[0] * self.gui.size[0] + self.size[0
            ] * self.gui.size[0] and self.position[1] * self.gui.size[1
            ] < point[1] < self.position[1] * self.gui.size[1] + self.size[1
            ] * self.gui.size[1]
        return within and mouseState[0], within and mouseState[2]
