summaryrefslogtreecommitdiff
blob: 237ff4db890cf8482300e7b728511272bf6b7059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-module(shim_database).
-export([fetch/2]).

fetch(battlemaps_db, _Object_ID) ->
   Width = (rand:uniform(54) + 10),
   Height = (rand:uniform(54) + 10),
   {ok,
      {
         shim_battlemap_battlemap:generate(Width, Height),
         shim_battlemap_character:generate(Width, Height)
      }
   }.