IndexedLifecycle.got_added: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/indexed_lifecycle.bend as IndexedLifecycle Lines 16-18 of bendvy-ecs-core@0.1.0.3/indexed_lifecycle.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/indexed_lifecycle.bend&start_line=16&end_line=18 import Base import bendvy-ecs-core@0.1.0.3/change_tick.bend as Tick import lifecycle.bend as L def got_added(+id:U32,changed:Array>,capacity:U32,depth:Nat,exceptional:List<&2,L.Entry>,observed:Array> & Maybe<&2,Tick.Tick>) -> Metadata & L.Stamp: match observed: case (added,first): got_changed(added,capacity,depth,exceptional,first,Array.get(Maybe<&2,Tick.Tick>,changed,U32.sub(id,1))) Uses (14): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.get https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/change_tick.bend&name=Tick https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/indexed_lifecycle.bend&name=Metadata https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/indexed_lifecycle.bend&name=got_changed https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/lifecycle.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/lifecycle.bend&name=Stamp