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

type alias Character =
   {
      id : String,
      name : String,
      icon : String,
      portrait : String,
      x : Int,
      y : Int
   }

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