def current_scoped

bendvy-ecs-core@0.1.0.3 · clock_state.bend:64

import bendvy-ecs-core@0.1.0.3/clock_state.bend as ClockState
import Base
import bendvy-ecs-core@0.1.0.3/change_tick.bend as Tick

64# Captured tick of the enclosing execution, or administrative time outside a run.
65def current_scoped(tick:Tick.Tick,scopes:List<&2,Tick.Tick>) -> Tick.Tick:
66  match scopes:
67    case []:tick
68    case active <> _:active

Uses (2)

Used by (1)