# Consistency check, so we can assume things are correct
# in the level renderer
for row, row_data in enumerate(self._tiles):
if len(row_data) != self._width:
raise RuntimeError("Incorrect len for row %d" % row)
# Consistency check, so we can assume things are correct
# in the level renderer
for row, row_data in enumerate(self._tiles):
if len(row_data) != self._width:
raise RuntimeError("Incorrect len for row %d" % row)