diff options
author | stuebinm | 2021-09-16 23:18:14 +0200 |
---|---|---|
committer | stuebinm | 2021-09-16 23:18:14 +0200 |
commit | 7a9226d84cf9dde33d0fc3e7852a22c36ab1c39b (patch) | |
tree | 428079b8bd891dc09bedc594e149fc9799c82816 /lib/Tiled2.hs | |
parent | de81f6cac440fff159546f6423f017197db49e1a (diff) |
input options, output json
input options are mostly dummies for now, but some work (e.g. --inpath
and --json). Lints can now be optionally printed as json to be
reasonably machine-readable (and the json can be pretty-printed to make
it human-readable again …).
Diffstat (limited to '')
-rw-r--r-- | lib/Tiled2.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Tiled2.hs b/lib/Tiled2.hs index 17b2b77..bc752a5 100644 --- a/lib/Tiled2.hs +++ b/lib/Tiled2.hs @@ -140,7 +140,7 @@ data Layer = Layer { layerWidth :: Double -- ^ Column count. Same as map width for fixed-size maps. , layerHeight :: Double -- ^ Row count. Same as map height for fixed-size maps. - , layerName :: String + , layerName :: Text -- ^ Name assigned to this layer , layerType :: String -- ^ “tilelayer”, “objectgroup”, or “imagelayer” |