summaryrefslogtreecommitdiff
path: root/Gate.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-06-24 21:24:22 +0930
committerDaniel Jones <admin@danieljon.es>2020-06-24 21:24:22 +0930
commit91aff1783d364f3f2c814a90ec292cb89d5deb88 (patch)
tree464d2c2adcf8977c1e3a355783194a50fca7d136 /Gate.h
parent19c61272bde25dbf1991bcb3ad31d173cda92df2 (diff)
downloadfoxlogicgates-91aff1783d364f3f2c814a90ec292cb89d5deb88.tar.gz
foxlogicgates-91aff1783d364f3f2c814a90ec292cb89d5deb88.zip
functionality: implemented deleting selected gate with the delete key.
Diffstat (limited to 'Gate.h')
-rw-r--r--Gate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gate.h b/Gate.h
index 68afab0..ad2f212 100644
--- a/Gate.h
+++ b/Gate.h
@@ -59,6 +59,7 @@ class Gate
//void set_output_gate(Gate *gate) { this->output_gate = gate; };
void add_output_gate_id(int id) { this->output_gate_ids.push_back(id); };
void remove_output_gate_id(int id);
+ void remove_input_gate(int id);
void update_state();
private: