Component - the empty component object used as a c'tor to extend it.
(this method replaces inheritance to keep wide support)
| Name | Type | Description |
|---|---|---|
owner |
Core.Entity | parent entity |
Returns:
| Type | Description |
|---|---|
| object | null |
Members
-
the component's name
-
parent Core.Entity
-
component's owner ( and parent )
Methods
-
static-like method that converts type to component name.
Name Type Description typeType the type of the component Returns:
Type Description String the component's name -
stub update function