blob: f5f57c09c8bba686d1649b585c8131283277e079 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
module Model exposing (Type, State(..))
import Dict
import Battlemap
import Battlemap.Navigator
import Battlemap.Location
import Battlemap.RangeIndicator
import Character
type State =
Default
| MovingCharacter Character.Ref
-- MODEL
type alias Type =
{
state: State,
battlemap: Battlemap.Type,
navigator: (Maybe Battlemap.Navigator.Type),
characters: (Dict.Dict Character.Ref Character.Type),
range_indicator:
(Dict.Dict
Battlemap.Location.Ref
Battlemap.RangeIndicator.Type
)
}
|