def getTile(self, tileCoord): tile = Tile() tile.tileset = self tile.topcoord, tile.bottomcoord = self._getCoords(tileCoord) return tile