Class: UIActionsSystem
Runs UIActionsComponent slots. An update-phase system, so it's attached only while the game runs: binding subscribes each used slot's trigger on the entity; firing runs the action on the slot's target (or the entity itself). Slot edits made while running rebind (dirty).
Extends
BoundComponentSystem<UIActionsComponent,BoundActions>
Constructors
Constructor
ts
new UIActionsSystem(): UIActionsSystem;Returns
UIActionsSystem
Inherited from
ts
BoundComponentSystem<UIActionsComponent, BoundActions>.constructorProperties
| Property | Modifier | Type | Default value | Inherited from |
|---|---|---|---|---|
enabled | public | boolean | true | BoundComponentSystem.enabled |
parallel | public | boolean | false | BoundComponentSystem.parallel |
Methods
GetName()
ts
GetName(): string;Returns
string
Overrides
ts
BoundComponentSystem.GetNameGetOrder()
ts
GetOrder(): SystemOrder;Returns
SystemOrder
GetPhase()
ts
GetPhase(): SystemPhase;Returns
Overrides
ts
BoundComponentSystem.GetPhaseOnClose()
ts
OnClose(): void;Returns
void
Inherited from
ts
BoundComponentSystem.OnCloseOnInit()
ts
OnInit(engine): void;Parameters
| Parameter | Type |
|---|---|
engine | IEngine |
Returns
void
Inherited from
ts
BoundComponentSystem.OnInitOnRender()
ts
OnRender(_scene, _renderer): void | Promise<void>;Parameters
| Parameter | Type |
|---|---|
_scene | Scene |
_renderer | IRenderer |
Returns
void | Promise<void>
Inherited from
ts
BoundComponentSystem.OnRenderOnRendererChanged()
ts
OnRendererChanged(_renderer): void;Parameters
| Parameter | Type |
|---|---|
_renderer | IRenderer |
Returns
void
Inherited from
ts
BoundComponentSystem.OnRendererChangedOnStart()
ts
OnStart(scene, _renderer): void;Parameters
| Parameter | Type |
|---|---|
scene | Scene |
_renderer | IRenderer |
Returns
void
Inherited from
ts
BoundComponentSystem.OnStartOnStop()
ts
OnStop(_scene): void;Parameters
| Parameter | Type |
|---|---|
_scene | Scene |
Returns
void
Inherited from
ts
BoundComponentSystem.OnStopOnUpdate()
ts
OnUpdate(scene, _dt): void;Parameters
| Parameter | Type |
|---|---|
scene | Scene |
_dt | number |
Returns
void
Overrides
ts
BoundComponentSystem.OnUpdate