def spec_rows

bendvy-ecs-core@0.1.0.4 · relation_query.bend:80

import bendvy-ecs-core@0.1.0.4/relation_query.bend as RelationQuery
import Base
import relation_types.bend as G
import world.bend as W

80def spec_rows(~S:Data,~V:Data,spec:Spec<S>,graph:G.Graph<S>,handle:W.Handle<S>,component:V) -> Bool & Row<S,V>:
81  match spec handle:
82    case Spec{items} W.Handle{+namespace,+id}: spec_rows_result(~S,~V,requirements(~S,items,graph,namespace,id,True{},[]),W.Handle{namespace,id},component)

Uses (9)

Used by (9)