View Source Islands.Island.Offsets (Islands Island v0.1.28)
Returns a list of offset tuples for each island type.
Link to this section Summary
Functions
Returns a list of offset tuples for the given island_type
.
Link to this section Types
Specs
col_offset() :: 0..2
Column offset
Specs
row_offset() :: 0..2
Row offset
Specs
t() :: [{row_offset(), col_offset()}]
A list of offset tuples
Link to this section Functions
Specs
new(Islands.Island.type()) :: t() | {:error, atom()}
Returns a list of offset tuples for the given island_type
.