def same_world

bendvy-ecs-core@0.1.0.4 · relation_reorder.bend:64

import bendvy-ecs-core@0.1.0.4/relation_reorder.bend as RelationReorder
import Base
import world.bend as W

64def same_world(~S:Data,+args:Args<S>,+namespace:U32) -> Bool:
65  match args:
66    case Args{W.Handle{ns,_},children}: Bool.and(U32.is_eq(ns,namespace),namespaces(~S,children,namespace))

Uses (7)

Used by (1)