Component
Direct Subclass:
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
offlineAttach(entity: *) This is called if attached while game is not running |
|
| public |
onAttach() This is called when it is attached to an Entity |
|
| public |
This is called when it is detatched from an Entity |
|
| public |
setDependency(id: *) |
|
| Private Methods | ||
| private |
_checkDependencies(entity: *) This will check if the entity it's being attached to, has this component's dependencies. |
|
Public Constructors
public constructor() source
Public Members
Public Methods
public offlineAttach(entity: *) source
This is called if attached while game is not running
Params:
| Name | Type | Attribute | Description |
| entity | * |
public setDependency(id: *) source
Params:
| Name | Type | Attribute | Description |
| id | * |
Private Methods
private _checkDependencies(entity: *) source
This will check if the entity it's being attached to, has this component's dependencies.
Params:
| Name | Type | Attribute | Description |
| entity | * |
