From 2d20dc042a386bc9f66bc5f535403227f9acf1b1 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Fri, 22 Sep 2017 13:46:32 +0200 Subject: No more import ... exposing. It got too confusing. --- client/elm/battlemap/src/Shim/Model.elm | 50 +++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 client/elm/battlemap/src/Shim/Model.elm (limited to 'client/elm/battlemap/src/Shim/Model.elm') diff --git a/client/elm/battlemap/src/Shim/Model.elm b/client/elm/battlemap/src/Shim/Model.elm new file mode 100644 index 0000000..517f80d --- /dev/null +++ b/client/elm/battlemap/src/Shim/Model.elm @@ -0,0 +1,50 @@ +module Shim.Model exposing (generate) + +import Dict + +--import Model + +import Shim.Battlemap + +--generate : Model.Type +generate = + { + battlemap = (Shim.Battlemap.generate), + navigator = Nothing, + selection = Nothing, + characters = + (Dict.insert + "2" + { + id = "2", + name = "Char2", + icon = "Icon2", + portrait = "Portrait2", + location = {x = 1, y = 4}, + movement_points = 6 + } + (Dict.insert + "1" + { + id = "1", + name = "Char1", + icon = "Icon1", + portrait = "Portrait1", + location = {x = 4, y = 1}, + movement_points = 10 + } + (Dict.insert + "0" + { + id = "0", + name = "Char0", + icon = "Icon0", + portrait = "Portrait0", + location = {x = 0, y = 0}, + movement_points = 16 + } + Dict.empty + ) + ) + ) + } -- cgit v1.2.3-70-g09d2