The function tiles.createTile() now supports a rotation argument