Skip to main content

Class: EntityTypes

Used for accessing all entity types currently available for use within the world.

Constructors

new EntityTypes()

private new EntityTypes(): EntityTypes

Returns

EntityTypes

Methods

get()

static get(identifier): EntityType

Parameters

ParameterType
identifierstring

Returns

EntityType

Remarks

Retrieves an entity type using a string-based identifier.


getAll()

static getAll(): EntityType[]

Returns

EntityType[]

Remarks

Retrieves a set of all entity types within this world.