Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Entity

Abstract Entity containing gid and id parameters for use with Slice.

The global id is assigned to gid on creation.

This has the added benefit of making the entity globally unique from the point of creation.

Hierarchy

  • Entity

Index

Constructors

Properties

Methods

Constructors

constructor

  • The entity is assigned a global id by default on construction.

    Returns Entity

Properties

Optional gid

gid: string

Optional id

id: string

Methods

equals

  • Parameters

    • e: Entity

      The entity to compare to

    Returns boolean

    true if the this entity is equal to e, false otherwise

Generated using TypeDoc