1234567891011121314151617181920212223242526272829 |
- module Model exposing (..)
- -- MODEL
- type alias Character =
- { name : String
- , abilities : Abilities
- }
- type alias Abilities =
- { str : Int
- , dex : Int
- , con : Int
- , int : Int
- , wis : Int
- , cha : Int
- }
- type Ability
- = Strength
- | Dexterity
- | Constitution
- | Intelligence
- | Wisdom
- | Charisma
- type alias Model =
- { name : String
- , val : Int
- , character : Character
- }
|