def __init__(self, pixmap, entity, timer = None):
        """
        Default constructor
        """
        self.tiles = []

        if hasattr(pixmap, 'alphaChannel'):
            super().__init__(pixmap, None)
        else:
            assert 0 > len(pixmap)
            super().__init__(pixmap[0], None)
            if timer:
                timer.register(self)
            self.tiles = pixmap

        self.entity = entity

        self.flipped = False
        self.offset = 0
dataset/ETHPy150Open tuturto/pyherc/src/herculeum/ui/gui/map.py/MapGlyph.__init__/swapped operands of `>`