Constructor
new SystemActor()
- Description:
- Creates a new actor system.
- Source:
Example
const system = new SystemActor();
system.tick({$stage, $timetick});
Methods
onTick($parameters)
- Description:
- Called when the system is being updated by one tick update.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
$parameters |
Object | The given parameters. |
$parameters.$stage |
Stage | The stage on which to execute the system. |
$parameters.$timetick |
number | The tick duration (in ms). |