aboutsummaryrefslogtreecommitdiff
path: root/NodeInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NodeInput.cpp')
-rw-r--r--NodeInput.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/NodeInput.cpp b/NodeInput.cpp
index 046cd72..17f9ed5 100644
--- a/NodeInput.cpp
+++ b/NodeInput.cpp
@@ -1,10 +1,12 @@
#include "NodeInput.h"
+#include <iostream>
+
NodeInput::NodeInput(const char * type) : Node(type) { }
-void NodeInput::compare() {
+void NodeInput::sim() {
if (this->output == nullptr) return;
-
+ std::cout << this->level << " bar\n";
this->output->setLevel(this->level);
}