RelationCleanupEngine.total_units: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/relation_cleanup_engine.bend as RelationCleanupEngine Lines 26-27 of bendvy-ecs-core@0.1.0.3/relation_cleanup_engine.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/relation_cleanup_engine.bend&start_line=26&end_line=27 import Base import bendvy-ecs-core@0.1.0.3/relation_types.bend as G def total_units(-S:Data,remaining:Nat,nodes:Nat,edges:List<&2,G.Edge>,descriptors:List<&2,G.Descriptor>) -> Nat: inventory_units(remaining,nodes,List.length(&2,G.Edge,edges),List.length(&2,G.Descriptor,descriptors)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/relation_cleanup_engine.bend&name=inventory_units https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/relation_types.bend&name=Descriptor https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/relation_types.bend&name=Edge