summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'client/elm/battlemap/src/Model.elm')
-rw-r--r-- | client/elm/battlemap/src/Model.elm | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/client/elm/battlemap/src/Model.elm b/client/elm/battlemap/src/Model.elm deleted file mode 100644 index 4303b6f..0000000 --- a/client/elm/battlemap/src/Model.elm +++ /dev/null @@ -1,38 +0,0 @@ -module Model exposing (Type, CharacterSelection, State(..)) - -import Dict - -import Battlemap -import Battlemap.Navigator -import Battlemap.Location -import Battlemap.RangeIndicator - -import Error - -import Character - -type alias CharacterSelection = - { - character: Character.Ref, - navigator: Battlemap.Navigator.Type, - range_indicator: - (Dict.Dict - Battlemap.Location.Ref - Battlemap.RangeIndicator.Type - ) - } - -type State = - Default - | Error Error.Type - | MovingCharacterWithButtons - | MovingCharacterWithClick - | FocusingTile - -type alias Type = - { - state: State, - battlemap: Battlemap.Type, - characters: (Dict.Dict Character.Ref Character.Type), - selection: (Maybe CharacterSelection) - } |