Ternary operator if checks in TmxLayerTile