summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/struct/map_location.erl')
-rw-r--r--src/map/struct/map_location.erl4
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}) ->