summaryrefslogtreecommitdiff
blob: 4804cd0042b909153a270e22b2cad94732ee4ee6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module Character exposing (Character, CharacterRef, to_comparable)

import Battlemap.Location exposing (Location)

type alias Character =
   {
      id : String,
      name : String,
      icon : String,
      portrait : String,
      location : Location
   }

type alias CharacterRef = String
to_comparable : Character -> CharacterRef
to_comparable c =
   c.id