| summaryrefslogtreecommitdiff | 
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2018-02-27 14:16:16 +0100 | 
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2018-02-27 14:16:16 +0100 | 
| commit | 292022649270d36c8ab0c813e4d7e07f3e067231 (patch) | |
| tree | 8e25f8c3e5db7f6bae7001d405f24e29115750f3 /src/struct/tile.erl | |
| parent | be9a65dd6d24ca8e7006c0b8825a3fa46419e201 (diff) | |
Starting to specify types everywhere...
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). | 


