summaryrefslogtreecommitdiff
blob: 6b6a7c7ef625db630687f8bb036084586a59cc62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module Character exposing (Type, Ref, get_ref)

import Battlemap.Location

type alias Type =
   {
      id : String,
      name : String,
      icon : String,
      portrait : String,
      location : Battlemap.Location.Type,
      movement_points : Int
   }

type alias Ref = String

get_ref : Type -> Ref
get_ref c =
   c.id