summaryrefslogtreecommitdiff
path: root/lib/Tiled2.hs
diff options
context:
space:
mode:
authorstuebinm2021-09-18 01:59:00 +0200
committerstuebinm2021-09-18 01:59:00 +0200
commit1c82540aeea7636a6cfd25acfdd28c1029f5669f (patch)
treeafdf9cdf8f33dfeffc2478b3e1e069748497b687 /lib/Tiled2.hs
parent77d1f4ce4eb3ba40d884cc4ed7fa693e16538c8d (diff)
can collect dependencies!
There's now a Lint type, which may be either a "true lint" (which is a Hint, which contains some message and level of severity), or a Depends, which indicates that this map depends on some ressource or other (and is otherwise treated as a special info Hint in all other cases)
Diffstat (limited to '')
-rw-r--r--lib/Tiled2.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Tiled2.hs b/lib/Tiled2.hs
index 20886bd..c751cdc 100644
--- a/lib/Tiled2.hs
+++ b/lib/Tiled2.hs
@@ -8,7 +8,7 @@
-- cover some of the types and records that are available in the format. For
-- those you should read the TMX documentation at
-- http://doc.mapeditor.org/en/latest/reference/tmx-map-format/
-{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE NamedFieldPuns #-}
module Tiled2 where
import Control.Applicative ((<|>))
@@ -68,7 +68,7 @@ parseDefault o s d = fromMaybe d <$> o .:? s
-- | workadventure custom property
-data Property = Property { propertyName :: Text
+data Property = Property { propertyName :: Text
--, propertyType :: Text (unnecessary since always string)
, propertyValue :: Text
} deriving (Eq, Generic, Show)