def changed
import bendvy-ecs-core@0.1.0.4/machine.bend as Machineimport Base
174def changed(~S: Data,~M: Data,~V: Data,slot: Slot<S,M,V>) -> Bool:
175 match slot:
176 case Missing{}: False{}
177 case Present{_,_,_,flag}: flag
import bendvy-ecs-core@0.1.0.4/machine.bend as Machineimport Base
174def changed(~S: Data,~M: Data,~V: Data,slot: Slot<S,M,V>) -> Bool:
175 match slot:
176 case Missing{}: False{}
177 case Present{_,_,_,flag}: flag