#65 Add support for Tiled's rotate and flip functions.