armory/Sources/armory/logicnode/NotNode.hx
2019-12-19 23:54:08 +01:00

16 lines
251 B
Haxe

package armory.logicnode;
class NotNode extends LogicNode {
public var property0: String;
public function new(tree: LogicTree) {
super(tree);
}
override function get(from: Int): Dynamic {
var v1: Bool = inputs[0].get();
return !v1;
}
}