Options
All
  • Public
  • Public/Protected
  • All
Menu

A component describing properties of a tile used by tilemaps.

Hierarchy

Index

Constructors

constructor

Properties

colliderType

colliderType: TileColliderType

Collider type, as defined in the TileColliderType enum. Options are: None, Sprite, Grid. Defaults to None.

color

color: Color

The Color used to tint the material.

sprite

sprite: Entity

The Sprite entity to draw.

Static _isSharedComp

_isSharedComp: boolean

Static _size

_size: number

Static _view

_view: any

Static cid

cid: number

Static color

Static sprite

sprite: EntityComponentFieldDesc

Methods

Static _dtorFn

  • _dtorFn(v: Tile): void
  • Parameters

    Returns void

Static _fromPtr

  • Parameters

    • p: number
    • Optional v: Tile

    Returns Tile

Static _tempHeapPtr

  • _tempHeapPtr(v: Tile): number
  • Parameters

    Returns number

Static _toPtr

  • _toPtr(p: number, v: Tile): void
  • Parameters

    Returns void

Generated using TypeDoc