elm package cache
Packages
Reroutes
About
lamdera.com
justgook
/
elm-tiled
/
1.0.0
NOTE: the latest version is
3.0.2
README
About
Versions
Source
Modules
Tiled.Object
type
Object
=
Point
(
Common
{})
|
Rectangle
CommonDimension
|
Ellipse
CommonDimension
|
Polygon
CommonDimensionPolyPoints
|
PolyLine
CommonDimensionPolyPoints
|
Tile
CommonDimensionGid
decode
:
Decoder
Object
encode
:
Object
->
Value
type
alias
CommonDimension
=
Common
(
Dimension
{})
type
alias
CommonDimensionGid
=
Common
(
Dimension
{ gid
:
Gid
})
type
alias
CommonDimensionPolyPoints
=
Common
(
Dimension
{ points
:
List
{ x
:
Float
, y
:
Float
}
}
)
type
alias
Common
a
=
{ a
| id
:
Int
, name
:
String
, kind
:
String
, visible
:
Bool
, x
:
Float
, y
:
Float
, rotation
:
Float
, properties
:
Properties
}
Do i really need ID here?
type
alias
Dimension
a
=
{ a | width
:
Float
, height
:
Float
}
type
alias
Gid
=
Int
type
alias
PolyPoints
=
List
{ x
:
Float
, y
:
Float
}
README
About
5 versions
Source
Modules
Tiled
Tiled.Level
Tiled.Layer
Tiled.Tileset
Tiled.Object
Tiled.Properties