Function EntityComponent.this
Constructs an entity component and attaches it to the given entity.
Parameters
| Name | Description |
|---|---|
| eventManager | The event manager. |
| hostEntity | The entity to attach to. |
Constructs an entity component and attaches it to the given entity.
| Name | Description |
|---|---|
| eventManager | The event manager. |
| hostEntity | The entity to attach to. |