| summaryrefslogtreecommitdiff | 
diff options
Diffstat (limited to 'src/struct/tile.erl')
| -rw-r--r-- | src/struct/tile.erl | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/src/struct/tile.erl b/src/struct/tile.erl index 299481b..e86da56 100644 --- a/src/struct/tile.erl +++ b/src/struct/tile.erl @@ -3,8 +3,8 @@  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %% TYPES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --opaque id() :: integer(). --opaque struct() :: integer(). +-opaque id() :: non_neg_integer(). +-opaque struct() :: id().  -export_type([struct/0, id/0]).  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -32,8 +32,10 @@  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %% EXPORTED FUNCTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +-spec cost_when_oob () -> non_neg_integer().  cost_when_oob () -> 255. +-spec get_cost (id()) -> non_neg_integer().  get_cost (N) ->     if        (N =< 200) -> (N + 8); | 


