summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2019-02-15 19:04:06 +0100 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2019-02-15 19:04:06 +0100 |
commit | 11ba787cd7a9bbcd0dff71176285337375313409 (patch) | |
tree | 957823dfa2a9b193de0da0b4c6441092ff7e045c /src/shared/struct/map/shr_map.erl | |
parent | 85b1e04a22e7564b702aa27c5f6467ad4d5f4416 (diff) |
[Broken] ...
Diffstat (limited to 'src/shared/struct/map/shr_map.erl')
-rw-r--r-- | src/shared/struct/map/shr_map.erl | 8 |
1 files changed, 6 insertions, 2 deletions
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(). |