def rect(self): return Rect(self.x, self.y, self.width, self.height) # Initialises the Tileset and adds columns and rows