def fill(self, tiles): """fill the box""" for uiTile in self._tiles: uiTile.cross = False KongBox.fill(self, tiles) for uiTile in self._tiles: uiTile.cross = True
def pop(self, count): """get count tiles from kong box""" result = KongBox.pop(self, count) for uiTile in result: uiTile.cross = False return result
def __init__(self): KongBox.__init__(self)