Class: EntityTypes
Used for accessing all entity types currently available for use within the world.
Constructors
new EntityTypes()
private
new EntityTypes():EntityTypes
Returns
Methods
get()
static
get(identifier
):EntityType
Parameters
Parameter | Type |
---|---|
identifier | string |
Returns
Remarks
Retrieves an entity type using a string-based identifier.
getAll()
static
getAll():EntityType
[]
Returns
Remarks
Retrieves a set of all entity types within this world.