stable
This commit is contained in:
parent
fbdac9ebf1
commit
86226ccc94
97 changed files with 5790 additions and 2307 deletions
13
js/item_lifecycle_step_growth.js
Normal file
13
js/item_lifecycle_step_growth.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
|
||||
// Layer: entity-runtime/items/lifecycle-step
|
||||
// Pipeline adapter for item growth/lifecycle stage ticking. The implementation
|
||||
// lives in js/item_lifecycle_growth_system.js.
|
||||
(function (global) {
|
||||
function update(item, dt, worldRef) {
|
||||
if (!item || item.dead) return { done: true };
|
||||
return global.TarinaiItemGrowthSystem?.update(item, dt, worldRef) || { done: false };
|
||||
}
|
||||
|
||||
global.TarinaiItemGrowthLifecycleStep = Object.freeze({ update });
|
||||
})(typeof window !== "undefined" ? window : globalThis);
|
||||
Loading…
Add table
Add a link
Reference in a new issue