@classmethod
def fromParameters(cls, tileNum, hFlip=False, vFlip=False, paletteNum=0):
    """
        Create a new TilemapTile with the parameters given.
        """
    self = cls()
    self.tileNum = tileNum
    self.hFlip = hFlip
    self.vFlip = vFlip
    self.paletteNum = paletteNum
    return self
