Options
All
  • Public
  • Public/Protected
  • All
Menu

Wraps EntityId to make certain EntityComponentState calls more fluent

Hierarchy

  • Entity

Index

Constructors

constructor

Properties

Private Readonly _ecState

_ecState: any

Private Readonly _id

_id: any

Methods

delete

  • delete(): void
  • Returns void

getComponent

  • getComponent<T>(componentType: new () => T): undefined | Component<T>
  • Type parameters

    Parameters

    • componentType: new () => T
        • new (): T
        • Returns T

    Returns undefined | Component<T>

getId

  • Returns EntityId

isDeleted

  • isDeleted(): boolean
  • Returns boolean

setComponent

  • Type parameters

    Parameters

    • data: T

    Returns Component<T>

Generated using TypeDoc