summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-10-12 19:46:36 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-10-12 19:46:36 +0200
commit5a75000ec7b961ad5fe93814e5b7905cacbdba49 (patch)
treeaa0065ccb2251ecd7cf53dfd91e4ba1dd7ae8a52 /elm/battlemap/src/View/Controls.elm
parent2d54254e59289c452777fccb1f4d00b56eb7e451 (diff)
Started a rather large reorganization.messy-exchanges
Diffstat (limited to 'elm/battlemap/src/View/Controls.elm')
-rw-r--r--elm/battlemap/src/View/Controls.elm4
1 files changed, 2 insertions, 2 deletions
diff --git a/elm/battlemap/src/View/Controls.elm b/elm/battlemap/src/View/Controls.elm
index be698bf..f5851a9 100644
--- a/elm/battlemap/src/View/Controls.elm
+++ b/elm/battlemap/src/View/Controls.elm
@@ -12,7 +12,7 @@ direction_button dir label =
(Html.button
[
(Html.Events.onClick
- (Event.DirectionRequest dir)
+ (Event.DirectionRequested dir)
)
]
[ (Html.text label) ]
@@ -21,7 +21,7 @@ direction_button dir label =
end_turn_button : (Html.Html Event.Type)
end_turn_button =
(Html.button
- [ (Html.Events.onClick Event.EndTurn) ]
+ [ (Html.Events.onClick Event.TurnEnded) ]
[ (Html.text "End Turn") ]
)