summaryrefslogtreecommitdiff
path: root/Gate.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-07-01 19:31:11 +0930
committerDaniel Jones <admin@danieljon.es>2020-07-01 19:31:11 +0930
commit010b96610730b5028c42faa633d067ebb411a744 (patch)
treeb18659d0e83128d636078daa7df28867783cdefa /Gate.h
parentec91ec4eede7ea2a2a42261a3b0d8d0eb7b2397b (diff)
downloadfoxlogicgates-010b96610730b5028c42faa633d067ebb411a744.tar.gz
foxlogicgates-010b96610730b5028c42faa633d067ebb411a744.zip
move remove_input_object() into object superclass
Diffstat (limited to 'Gate.h')
-rw-r--r--Gate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Gate.h b/Gate.h
index ab6b238..c8cd492 100644
--- a/Gate.h
+++ b/Gate.h
@@ -46,12 +46,11 @@ class Gate : public Object
Gate *get_input_gate2() { return this->input_gate2; };
void set_input_gate1(Gate *gate) { this->input_gate1 = gate; };
void set_input_gate2(Gate *gate) { this->input_gate2 = gate; };
- void remove_input_gate(int id);
+ void remove_input_object(int id) override;
void update_state() override;
std::string get_object_name() override { return get_output_type_text(); };
-
private:
GATE_TYPE gate_type;