Islands Engine v0.1.9 Islands.Engine.Offsets View Source

Returns a list of offsets for each island type.

Link to this section Summary

Functions

Returns a list of offsets for a given island type

Link to this section Types

Link to this type t() View Source
t() :: [{Islands.Engine.Coord.row(), Islands.Engine.Coord.col()}]

Link to this section Functions

Link to this function for(arg1) View Source
for(Islands.Engine.Island.type()) :: t() | {:error, atom()}

Returns a list of offsets for a given island type.