From 93f4f323e5374e65a9cadd5903fa020188e59ee1 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Tue, 30 Jun 2020 16:41:17 +0930 Subject: Functionality: basic binary display functions, needs work --- Gate.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Gate.h') diff --git a/Gate.h b/Gate.h index b677704..ab6b238 100644 --- a/Gate.h +++ b/Gate.h @@ -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 *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 -- cgit v1.2.3