From 1c82540aeea7636a6cfd25acfdd28c1029f5669f Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 18 Sep 2021 01:59:00 +0200 Subject: 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) --- lib/Tiled2.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Tiled2.hs') 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) -- cgit v1.2.3