Files
armorpaint/base/Sources/nodes/null_node.ts
T

16 lines
292 B
TypeScript
Raw Normal View History

2024-03-14 23:58:24 +01:00
type null_node_t = {
base?: logic_node_t;
};
2024-03-21 21:06:41 +01:00
function null_node_create(arg: any): null_node_t {
2024-03-14 23:58:24 +01:00
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);
}