diff options
author | Daniel Jones <admin@danieljon.es> | 2020-06-29 23:14:23 +0930 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-06-29 23:14:23 +0930 |
commit | 193fda2d270f63c127edc5b1082ef14ad12b1175 (patch) | |
tree | 8423cc822fd704f4c7b659f0ff6c9580147c4b2a /Gate.cpp | |
parent | 1e76ef7d2df9d49a905f416774f33fdedfcf6f34 (diff) | |
download | foxlogicgates-193fda2d270f63c127edc5b1082ef14ad12b1175.tar.gz foxlogicgates-193fda2d270f63c127edc5b1082ef14ad12b1175.zip |
further work deriving gates from Object
Diffstat (limited to 'Gate.cpp')
-rw-r--r-- | Gate.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -19,6 +19,7 @@ int Object::object_id_counter = 0; // initialise static object counter FIXME: do Gate::Gate(GATE_TYPE type, int x, int y, int width, int height, int loaded_id) { + set_object_type(Object::GATE); this->gate_type = type; this->input_gate1 = nullptr; this->input_gate2 = nullptr; |