summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2019-11-25 11:34:56 +0100 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2019-11-25 11:34:56 +0100 |
commit | 764a36d571bd071ee754678274be54ff5ab40b36 (patch) | |
tree | 443f43e26fbf97f488dffd8c757d812a8d9cc1a8 /src/shared/battle-map/BattleMap/Struct/Tile.elm | |
parent | 056513525e544d73ce8917739654c0ea0a437c2c (diff) |
...
Diffstat (limited to 'src/shared/battle-map/BattleMap/Struct/Tile.elm')
-rw-r--r-- | src/shared/battle-map/BattleMap/Struct/Tile.elm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/shared/battle-map/BattleMap/Struct/Tile.elm b/src/shared/battle-map/BattleMap/Struct/Tile.elm index 9145b44..53ec2e1 100644 --- a/src/shared/battle-map/BattleMap/Struct/Tile.elm +++ b/src/shared/battle-map/BattleMap/Struct/Tile.elm @@ -9,6 +9,7 @@ module BattleMap.Struct.Tile exposing get_cost, get_omnimods, get_family, + none, decoder ) @@ -75,3 +76,14 @@ decoder = |> (Json.Decode.Pipeline.required "de" Json.Decode.int) |> (Json.Decode.Pipeline.required "omni" Battle.Struct.Omnimods.decoder) ) + +none : Type +none = + { + id = "-1", + name = "Not Found", + crossing_cost = 999, + family = "-1", + depth = 0, + omnimods = (Battle.Struct.Omnimods.none) + } |