def graph_replace

bendvy-ecs-core@0.1.0.4 · relation_commands.bend:28

import bendvy-ecs-core@0.1.0.4/relation_commands.bend as RelationCommands
import Base
import relation_types.bend as G

28def graph_replace(~S: Data,~C: Type,store: Store<S,C>,replacement: G.Graph<S>) -> Store<S,C>:
29  match store:
30    case Store{components,_}: Store{components,replacement}

Uses (2)

Used by (1)