Skip to content
ChartForgeX
Class

ChartTileMapCatalog

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
static

Provides generic access to built-in reusable tile-map definitions.

Inheritance

  • object
  • ChartTileMapCatalog

Methods

public static IReadOnlyList<ChartTileMapDefinition> All() #

Gets all built-in tile-map definitions.

Returns

IReadOnlyList<ChartTileMapDefinition> The available tile-map definitions.
public static ChartTileMapDefinition Get(string id) #

Gets a built-in tile-map definition by ID.

Parameters

id string required
The tile-map definition ID.

Returns

ChartTileMapDefinition The requested tile-map definition.
public static bool TryGet(string id, out ChartTileMapDefinition definition) #

Attempts to get a built-in tile-map definition by ID.

Parameters

id string required
The tile-map definition ID.
definition ChartForgeX.Core.ChartTileMapDefinition required
The resolved tile-map definition.

Returns

bool true when the definition exists; otherwise false.