new AxEntityDispatcher()
This is a virtual prototype meant to be inherited by overrideing its methods
Creates a new entity dispatcher
Entity dispatchers are used to create on demand entities by a given type id. This allows abstract entity creation, especially useful in deserialization
- Source:
Methods
CreateEntity(context, typeId) → {AxEntity}
Creates an entity of the given typeId
Parameters:
Name | Type | Description |
---|---|---|
context |
Axis | Context to use for the creation of the entity |
typeId |
Integer | Identificator for the entity type to create |
- Source:
Returns:
The created entity object
- Type
- AxEntity