stable
This commit is contained in:
parent
fbdac9ebf1
commit
86226ccc94
97 changed files with 5790 additions and 2307 deletions
13
js/simulation_effects_system.js
Normal file
13
js/simulation_effects_system.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
|
||||
// Layer: simulation/system-effects
|
||||
// Owns frame updates for transient visual/effect entities.
|
||||
(function (global) {
|
||||
function updateEffects(worldRef, dt) {
|
||||
for (const ef of worldRef.effects) ef.update(dt);
|
||||
}
|
||||
|
||||
global.TarinaiEffectsSimulationSystem = Object.freeze({
|
||||
phases: Object.freeze({ updateEffects }),
|
||||
});
|
||||
})(typeof window !== "undefined" ? window : globalThis);
|
||||
Loading…
Add table
Add a link
Reference in a new issue