def selected_aux

bendvy-ecs-core@0.1.0.4 · query.bend:35

import bendvy-ecs-core@0.1.0.4/query.bend as Query
import Base
import world.bend as W
import component.bend as Cmp
import transaction.bend as T

35def selected_aux(~S: Data,~Store: Type,~R: Type,~E: Data,~V: Data,mode: Selection,main: Bool,observed: T.Tx<W.World<S,Store,R,E>,E> & Cmp.Access<V>) -> T.Tx<W.World<S,Store,R,E>,E> & Bool:
36  (tx,value) = observed
37  (tx,main && selection_aux(~V,mode,value))

Uses (9)

Used by (1)