From 11ba787cd7a9bbcd0dff71176285337375313409 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Fri, 15 Feb 2019 19:04:06 +0100 Subject: [Broken] ... --- src/shared/struct/map/shr_map.erl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/shared/struct/map/shr_map.erl') diff --git a/src/shared/struct/map/shr_map.erl b/src/shared/struct/map/shr_map.erl index b72c566..c9f01b4 100644 --- a/src/shared/struct/map/shr_map.erl +++ b/src/shared/struct/map/shr_map.erl @@ -12,7 +12,7 @@ owner :: shr_player:id(), width :: non_neg_integer(), height :: non_neg_integer(), - tile_instances :: shr_tile:instances_tuple(), + tile_instances :: shr_array_tuple:array_tuple(shr_tile_instance:type()), markers :: shr_map_marker:collection() } ). @@ -90,7 +90,11 @@ get_width (Map) -> Map#map.width. -spec get_height (type()) -> non_neg_integer(). get_height (Map) -> Map#map.height. --spec get_tile_instances (type()) -> shr_tile:instances_tuple(). +-spec get_tile_instances + ( + type() + ) + -> shr_array_tuple:array_tuple(shr_tile_instance:type()). get_tile_instances (Map) -> Map#map.tile_instances. -spec get_tile_instance (shr_location:type(), type()) -> shr_tile:instance(). -- cgit v1.2.3-70-g09d2