From cd729553daf0680666f39b39991eeff80e0eca3e Mon Sep 17 00:00:00 2001 From: nsensfel Date: Tue, 28 Nov 2017 18:23:47 +0100 Subject: Got it to run. --- src/type/battlemap_instance.erl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/type') 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). -- cgit v1.2.3-70-g09d2