summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2018-07-12 17:48:41 +0200 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2018-07-12 17:48:41 +0200 |
commit | a132188ccc244a6d802bd1c32fbf196d4cb53cbd (patch) | |
tree | bd54e576ea8164d3efc801d9c56420218a74e591 /src/map/struct/map_location.erl | |
parent | b853df7a1c3efef6b84b90fe8c492611564f8b53 (diff) |
Got it to load the map (full of "error" tiles).
Diffstat (limited to 'src/map/struct/map_location.erl')
-rw-r--r-- | src/map/struct/map_location.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/struct/map_location.erl b/src/map/struct/map_location.erl index 9670cb0..edfb85a 100644 --- a/src/map/struct/map_location.erl +++ b/src/map/struct/map_location.erl @@ -1,4 +1,4 @@ --module(btl_location). +-module(map_location). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% TYPES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -44,7 +44,7 @@ validate ({X, Y}) -> -spec get_nowhere () -> type(). get_nowhere () -> nowhere. --spec apply_direction (btl_direction:enum(), type()) -> type(). +-spec apply_direction (map_direction:enum(), type()) -> type(). apply_direction (left, {X, Y}) -> validate({(X - 1), Y}); apply_direction (right, {X, Y}) -> |