Islands Engine v0.1.43 Islands.Engine.Island.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() :: [{0..2, 0..2}]

Link to this section Functions

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

Returns a list of offsets for a given island type.