summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-09-15 17:41:07 +0200 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-09-15 17:41:07 +0200 |
commit | c9786fd27954c79faf901963003a8b7b3131ca4c (patch) | |
tree | 85919cf11c2e54908cfeeebe59acf03283f131c8 /client/elm/battlemap/src/Battlemap/Tile.elm | |
parent | 9a2d8f37dea8e14afa57affb135def13954df547 (diff) |
Adds UI to test the Navigator.
Diffstat (limited to 'client/elm/battlemap/src/Battlemap/Tile.elm')
-rw-r--r-- | client/elm/battlemap/src/Battlemap/Tile.elm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/elm/battlemap/src/Battlemap/Tile.elm b/client/elm/battlemap/src/Battlemap/Tile.elm index e8f2493..acedfa4 100644 --- a/client/elm/battlemap/src/Battlemap/Tile.elm +++ b/client/elm/battlemap/src/Battlemap/Tile.elm @@ -13,8 +13,8 @@ type alias Tile = -- mod_level : Int } -set_direction : Tile -> Direction -> Tile -set_direction t d = +set_direction : Direction -> Tile -> Tile +set_direction d t = {t | nav_level = d} from_int : Int -> Tile |