def total_units

bendvy-ecs-core@0.1.0.3 · relation_cleanup_engine.bend:26

import bendvy-ecs-core@0.1.0.3/relation_cleanup_engine.bend as RelationCleanupEngine
import Base
import bendvy-ecs-core@0.1.0.3/relation_types.bend as G

26def total_units(-S:Data,remaining:Nat,nodes:Nat,edges:List<&2,G.Edge<S>>,descriptors:List<&2,G.Descriptor<S>>) -> Nat:
27  inventory_units(remaining,nodes,List.length(&2,G.Edge<S>,edges),List.length(&2,G.Descriptor<S>,descriptors))

Uses (6)

Used by (1)