diff options
author | Daniel Jones <admin@danieljon.es> | 2020-07-03 22:18:55 +0930 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-07-03 22:18:55 +0930 |
commit | 1e7b871722482f7f77e2ab3c80dd5bec1596d29c (patch) | |
tree | 7ed147be7e16d781ba1a264e690133bed0d59609 /Object.h | |
parent | 7e8f5a8e885ab980b3ac1acbec84f46ba28d0ca5 (diff) | |
download | foxlogicgates-1e7b871722482f7f77e2ab3c80dd5bec1596d29c.tar.gz foxlogicgates-1e7b871722482f7f77e2ab3c80dd5bec1596d29c.zip |
Functionality: saving/loading with binary displays added
Diffstat (limited to 'Object.h')
-rw-r--r-- | Object.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -25,7 +25,7 @@ class Object * abstract class that all usable objects should subclass */ public: - Object() { id = object_id_counter++; }; // default constructor for all objects + Object() { }; // default constructor for all objects Object(int id_) { id = id_; }; // overloaded constructor for passing id - used when loading /* @@ -44,7 +44,6 @@ class Object int input; }; - virtual ~Object() = default; int get_id() { return this->id; }; int get_x() { return this->x; }; |