| summaryrefslogtreecommitdiff |
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2017-11-28 18:23:47 +0100 |
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2017-11-28 18:23:47 +0100 |
| commit | cd729553daf0680666f39b39991eeff80e0eca3e (patch) | |
| tree | 1707daa7eaf820a4dc9bb26a396e23eb19b7658c /src/type | |
| parent | f539b7072c357339328d9bfd54f1f1ed51828586 (diff) | |
Got it to run.
Diffstat (limited to 'src/type')
| -rw-r--r-- | src/type/battlemap_instance.erl | 3 |
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). |


