summaryrefslogtreecommitdiff
blob: f9d4b33cc3f8be2cc65f2ddaaf8b236f7b1b37b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module Event exposing (Type(..))

import Dict

import Http

import Battlemap.Direction
import Battlemap.Location

import Character

import UI

type Type =
   DirectionRequested Battlemap.Direction.Type
   | TileSelected Battlemap.Location.Ref
   | CharacterSelected Character.Ref
   | TurnEnded
   | ScaleChangeRequested Float
   | TabSelected UI.Tab
   | ServerReplied (Result Http.Error (Dict.Dict String (List String)))
   | DebugTeamSwitchRequest
   | DebugLoadBattlemapRequest