Files
armorpaint/base/Sources/nodes/null_node.ts
T
luboslenco 9b2e2a44a5 Format
2024-03-21 21:06:41 +01:00

16 lines
292 B
TypeScript

type null_node_t = {
base?: logic_node_t;
};
function null_node_create(arg: any): null_node_t {
let n: null_node_t = {};
n.base = logic_node_create();
n.base.get = float_node_get;
return n;
}
function null_node_get(self: null_node_t, from: i32, done: (a: any)=>void) {
done(null);
}