LNXSDK/leenkx/Sources/leenkx/logicnode/ActionNameNode.hx
2025-01-22 16:18:30 +01:00

17 lines
305 B
Haxe

package leenkx.logicnode;
class ActionNameNode extends LogicNode {
public var value: String;
public function new(tree: LogicTree, value = "") {
super(tree);
this.value = value;
}
override function get(from: Int): Dynamic {
if (inputs.length > 0) return inputs[0].get();
return value;
}
}