summaryrefslogtreecommitdiff
blob: 03c24500d4d6be55aa0a528290f09d7744a5d024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
module Shim.Model exposing (generate)

import Dict

import Model

import Shim.Battlemap

--generate : Model.Type
generate =
   {
      state = Model.Default,
      selection = Nothing,
      battlemap = (Shim.Battlemap.generate),
      characters =
         (Dict.insert
            "2"
            {
               id = "2",
               name = "Char2",
               icon = "Icon2",
               portrait = "Portrait2",
               location = {x = 0, y = 1},
               movement_points = 5,
               atk_dist = 1
            }
            (Dict.insert
               "1"
               {
                  id = "1",
                  name = "Char1",
                  icon = "Icon1",
                  portrait = "Portrait1",
                  location = {x = 1, y = 0},
                  movement_points = 4,
                  atk_dist = 2
               }
               (Dict.insert
                  "0"
                  {
                     id = "0",
                     name = "Char0",
                     icon = "Icon0",
                     portrait = "Portrait0",
                     location = {x = 0, y = 0},
                     movement_points = 3,
                     atk_dist = 1
                  }
                  Dict.empty
               )
            )
         )
   }