Members
lastick
last tick
Properties:
Name | Type | Description |
---|---|---|
lastick |
- Source:
Methods
componentTriggered(cnames, onFound) → {ECS}
Extending fouction:
when a type of component is found, it's better to give the caller a chance to triggere something for the component.
Call this to setup the event handler.
Currrently only xworld use this to setup post effect's flags.
Parameters:
Name | Type | Description |
---|---|---|
cnames |
string | array | component name |
onFound |
function | event handler |
- Source:
Returns:
this
- Type
- ECS
tick()
Properties:
Name | Type | Description |
---|---|---|
tick |
- Source: