def despawn_apply

bendvy-ecs-core@0.1.0.4 · commands.bend:81

import bendvy-ecs-core@0.1.0.4/commands.bend as Commands
import Base
import bendvy-ecs-core@0.1.0.4/world.bend as W

81# Low-level liveness-only command application, discarding its Status. Component
82# storage is retained; use the schema-cleanup variant for ordinary entity disposal.
83def despawn_apply(~S: Data,~C: Type,~R: Type,~E: Data,world: W.World<S,C,R,E>,handle: W.Handle<S>) -> W.World<S,C,R,E>:
84  deactivate_join(~S,~C,~R,~E,W.deactivate(~S,~C,~R,~E,world,handle))

Uses (4)

Used by (1)