import Base import ./trace_facts.bend as Facts # Execution transport, separate from the owned ECS World and gameplay providers. type Context is Type: Context{world:W,trace:Facts.State} def disabled(~W:Type,world:W) -> Context: Context{world,Facts.Off{}} def enabled(~W:Type,world:W) -> Context: Context{world,Facts.On{[]}}