Options
All
  • Public
  • Public/Protected
  • All
Menu

Class State

classdesc

Class representing a state.

Hierarchy

  • State

Index

Constructors

Accessors

Constructors

constructor

  • description

    Create a state instance from an engine.

    Parameters

    • engine: Engine

      Engine instance

    Returns State

Accessors

entities

  • description

    Get the state's entities.

    readonly

    Returns Entity[]

    • Array of entity instances

timestamp

  • get timestamp(): number
  • description

    Get the state's timestamp in milliseconds.

    readonly

    Returns number

    • Timestamp in milliseconds

Generated using TypeDoc