def current_scoped

bendvy-ecs-core@0.1.0.4 · clock_state.bend:52

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

52# Captured tick of the enclosing execution, or administrative time outside a run.
53def current_scoped(tick:Tick.Tick,scopes:List<&2,Tick.Tick>) -> Tick.Tick:
54  match scopes:
55    case []:tick
56    case active <> _:active

Uses (2)

Used by (1)