def empty_indexed

bendvy-ecs-core@0.1.0.3 · column.bend:52

import bendvy-ecs-core@0.1.0.3/column.bend as Column
import Base
import indexed_lifecycle.bend as M

52# Create an empty indexed column for trusted schema setup. Its layout is
53# not a component-kind restriction: C may be affine Type. No entity is spawned.
54# Example: examples/health-decay/schema.bend, empty().
55def empty_indexed(~S:Data,~C:Type) -> Column<S,C>:
56  indexed_wrap(~S,~C,ALeaf{None{}},M.empty())

Uses (5)

Used by (0)

No other definition uses this definition.