blob: ff26f9211676f89605ef1334295387aa2c8af947 (
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
29
30
|
module Update.OpenInventory exposing (apply_to)
-- Elm -------------------------------------------------------------------------
-- Battlemap -------------------------------------------------------------------
import Struct.Model
import Struct.Event
import Struct.Error
--------------------------------------------------------------------------------
-- LOCAL -----------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- EXPORTED --------------------------------------------------------------------
--------------------------------------------------------------------------------
apply_to : (
Struct.Model.Type ->
(Struct.Model.Type, (Cmd Struct.Event.Type))
)
apply_to model =
(
(Struct.Model.invalidate
model
(Struct.Error.new
Struct.Error.Unimplemented
"Display Character Inventory"
)
),
Cmd.none
)
|