class Box:

    def __init__(self, name, color: 'Color', coords: 'Coords'):
        self.name = name
        self.coords = coords
        self.color = color
        self.on_goal = False

    def moved_to_goal(self):
        self.on_goal = True

    def __eq__(self, other):
        if isinstance(other, Box):
            return self.coords == other.coords and self.name == other.name
        else:
            return False

73e34c4e793440b4ef346c120d7edb6157c627cc
class Box:
    <mask token>
    <mask token>
    <mask token>

class Box:

    def __init__(self, name, color: 'Color', coords: 'Coords'):
        self.name = name
        self.coords = coords
        self.color = color
        self.on_goal = False
    <mask token>
    <mask token>

class Box:

    def __init__(self, name, color: 'Color', coords: 'Coords'):
        self.name = name
        self.coords = coords
        self.color = color
        self.on_goal = False
    <mask token>

    def __eq__(self, other):
        if isinstance(other, Box):
            return self.coords == other.coords and self.name == other.name
        else:
            return False

class Box:

    def __init__(self, name, color: 'Color', coords: 'Coords'):
        self.name = name
        self.coords = coords
        self.color = color
        self.on_goal = False

    def moved_to_goal(self):
        self.on_goal = True

    def __eq__(self, other):
        if isinstance(other, Box):
            return self.coords == other.coords and self.name == other.name
        else:
            return False
