Class GameObjectAbstract

Base class for all gameplay related objects and containers.

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

_lastActionIndex: number
hiddenName?: string

Optional display name for this object when hidden.

name?: string

Optional display name for this object.

Accessors

  • get localBounds(): Bounds
  • How much space does this object take up.

    Returns Bounds

Methods

  • Builds a view of this object from the perspective of a player.

    Parameters

    • ctx: RenderContext

      Information about where the object is in the scene, and who's viewing it.

    Returns IView

Generated using TypeDoc