diff options
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; }; |