summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2017-11-16 17:06:17 +0100 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2017-11-16 17:06:17 +0100 |
commit | efaf3ee3f4b2478079c7b9dde8f9e879956a460f (patch) | |
tree | 809dba1496ddd1c3058df0722a9fd962fd11f34b /src/shim_database.erl | |
parent | 3cc9f85a8b84f6cb69b828a6510ece7f716a6b28 (diff) |
Starting changes in the structure.
Diffstat (limited to 'src/shim_database.erl')
-rw-r--r-- | src/shim_database.erl | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/shim_database.erl b/src/shim_database.erl deleted file mode 100644 index f1abd8b..0000000 --- a/src/shim_database.erl +++ /dev/null @@ -1,17 +0,0 @@ --module(shim_database). --export([fetch/2]). - -fetch(battlemaps_db, Object_ID) -> - Width = (rand:uniform(54) + 10), - Height = (rand:uniform(54) + 10), - io:format - ( - "~nGenerating new Battlemap ~p of size (~p, ~p)...~n", - [Object_ID, Width, Height] - ), - {ok, - { - shim_battlemap_battlemap:generate(Width, Height), - shim_battlemap_character:generate(Width, Height) - } - }. |