Islands Engine v0.2.0 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()
View Source
t() :: [{0..2, 0..2}]
t() :: [{0..2, 0..2}]
Link to this section Functions
Link to this function
new(island_type)
View Source
new(island_type)
View Source
new(Islands.Engine.Island.type()) :: t() | {:error, atom()}
new(Islands.Engine.Island.type()) :: t() | {:error, atom()}
Returns a list of offsets for a given island type.