summaryrefslogtreecommitdiff
path: root/Gate.h
diff options
context:
space:
mode:
Diffstat (limited to 'Gate.h')
-rw-r--r--Gate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Gate.h b/Gate.h
index ad2f212..f271b97 100644
--- a/Gate.h
+++ b/Gate.h
@@ -62,6 +62,8 @@ class Gate
void remove_input_gate(int id);
void update_state();
+ static int gate_id_counter; // used as the id of a new gate - this is NOT a count of the number of gates
+
private:
GATE_TYPE gate_type;
int id;
@@ -69,11 +71,11 @@ class Gate
int y;
int w;
int h;
- static int gate_id_counter; // used as the id of a new gate - this is NOT a count of the number of gates
/* inputs/outputs */
Gate *input_gate1;
Gate *input_gate2;
+
//Gate *output_gate;
std::vector<int> output_gate_ids;