Islands.Island.Offsets (Islands Island v0.1.19) 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

Specs

col_offset() :: 0..2

Specs

row_offset() :: 0..2

Specs

t() :: [{row_offset(), col_offset()}]

Link to this section Functions

Specs

new(Islands.Island.type()) :: t() | {:error, atom()}

Returns a list of offsets for a given island type.