Options
All
  • Public
  • Public/Protected
  • All
Menu

Module model/index

This package contains mostly definitions of data, most of which could be stored client-side, in browser's IndexedDB.

References

ActionInfo

ActionInfo:

BlockInfo

BlockInfo:

EquipmentInfo

EquipmentInfo:

ItemInfo

ItemInfo:

MinedInfo

MinedInfo:

PlayerInfo

PlayerInfo:

TerrainData

TerrainData:

TerrainInfo

TerrainInfo:

TerrainType

TerrainType:

Type aliases

XY

XY: object

Map coordinate, identifying one map tile

Type declaration

  • x: number
  • y: number

Functions

XY

  • XY(x: integer, y: integer): Vector2
  • Function for creating map coordinate object

    Parameters

    • x: integer
    • y: integer

    Returns Vector2

Generated using TypeDoc