diff options
author | Daniel Jones <admin@danieljon.es> | 2020-06-25 11:36:46 +0930 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-06-25 11:36:46 +0930 |
commit | c40dfb1f7e12f3d127ff8851dc3c7276840a5b81 (patch) | |
tree | f7993638ababbf5e2b76e6ddf92befb7b3d690b2 /Gate.h | |
parent | e554f9c170ef9ce2a3d3b9445be249ad8e33b52e (diff) | |
download | foxlogicgates-c40dfb1f7e12f3d127ff8851dc3c7276840a5b81.tar.gz foxlogicgates-c40dfb1f7e12f3d127ff8851dc3c7276840a5b81.zip |
functionality: added ability to save to xml file in preperations for loading.
Diffstat (limited to 'Gate.h')
-rw-r--r-- | Gate.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |