Table of Contents

Interface IIslandLayoutModelAccessor

Namespace
Root
Assembly
Game.Core.Map.Layout.Model.dll
public interface IIslandLayoutModelAccessor
Extension Methods

Properties

IslandCount

int IslandCount { get; }

Property Value

int

Islands

IEnumerable<IslandInstanceModel> Islands { get; }

Property Value

IEnumerable<IslandInstanceModel>

Methods

GetIsland(in GlobalChunkCoordinate)

IslandInstanceModel GetIsland(in GlobalChunkCoordinate position)

Parameters

position GlobalChunkCoordinate

Returns

IslandInstanceModel

HasIslandAt(GlobalChunkCoordinate)

bool HasIslandAt(GlobalChunkCoordinate pos)

Parameters

pos GlobalChunkCoordinate

Returns

bool

TryGetIsland(in GlobalChunkCoordinate, out IslandInstanceModel)

bool TryGetIsland(in GlobalChunkCoordinate position, out IslandInstanceModel island)

Parameters

position GlobalChunkCoordinate
island IslandInstanceModel

Returns

bool