From 36344e727e45b6a1d39f372a6a39ab973e023bdf Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Mon, 18 Sep 2017 19:12:54 +0200 Subject: Characters can actually move. --- client/elm/battlemap/src/Model.elm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'client/elm/battlemap/src/Model.elm') diff --git a/client/elm/battlemap/src/Model.elm b/client/elm/battlemap/src/Model.elm index 61d827b..a019c45 100644 --- a/client/elm/battlemap/src/Model.elm +++ b/client/elm/battlemap/src/Model.elm @@ -30,8 +30,7 @@ model = name = "Char2", icon = "Icon2", portrait = "Portrait2", - x = 1, - y = 4 + location = {x = 1, y = 4} } (insert "1" @@ -40,8 +39,7 @@ model = name = "Char1", icon = "Icon1", portrait = "Portrait1", - x = 4, - y = 1 + location = {x = 4, y = 1} } (insert "0" @@ -50,8 +48,7 @@ model = name = "Char0", icon = "Icon0", portrait = "Portrait0", - x = 0, - y = 0 + location = {x = 0, y = 0} } empty ) -- cgit v1.2.3-70-g09d2