| summaryrefslogtreecommitdiff | 
diff options
Diffstat (limited to 'src/struct/tile.erl')
| -rw-r--r-- | src/struct/tile.erl | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/src/struct/tile.erl b/src/struct/tile.erl index 05da3ec..299481b 100644 --- a/src/struct/tile.erl +++ b/src/struct/tile.erl @@ -3,7 +3,10 @@  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %% TYPES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +-opaque id() :: integer(). +-opaque struct() :: integer(). +-export_type([struct/0, id/0]).  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %% EXPORTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -37,5 +40,6 @@ get_cost (N) ->        true -> cost_when_oob()     end. +-spec random_id () -> id().  random_id () ->     roll:between(0, 15). | 


