summaryrefslogtreecommitdiff
path: root/src/type
diff options
context:
space:
mode:
Diffstat (limited to 'src/type')
-rw-r--r--src/type/battlemap_instance.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/type/battlemap_instance.erl b/src/type/battlemap_instance.erl
index 26ca5b1..28db509 100644
--- a/src/type/battlemap_instance.erl
+++ b/src/type/battlemap_instance.erl
@@ -14,6 +14,7 @@
-export
(
[
+ get_id/1,
list_characters/1
]
).
@@ -28,6 +29,8 @@
]
).
+get_id (BattlemapInstance) -> BattlemapInstance#battlemap_instance.id.
+
list_characters (BattlemapInstance) ->
dict:to_list(BattlemapInstance#battlemap_instance.chars).