diff options
Diffstat (limited to 'Gate.h')
-rw-r--r-- | Gate.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -40,12 +40,10 @@ class Gate : public Object Gate(GATE_TYPE type = INPUT, int x = 0, int y = 0, int width = 70, int height = 50, int id = -1); ~Gate(); - bool get_output_state() { return this->output_state; }; std::vector<int> *get_output_objects() { return &this->output_object_ids; }; GATE_TYPE get_gate_type() { return this->gate_type; }; Gate *get_input_gate1() { return this->input_gate1; }; Gate *get_input_gate2() { return this->input_gate2; }; - void set_state(bool state) { this->output_state = state; }; 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); @@ -63,8 +61,6 @@ class Gate : public Object std::string get_output_type_text(); - /* states */ - bool output_state = false; }; #endif |